summaryrefslogtreecommitdiffstats
path: root/test/auto-refresh.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-11-12 23:19:24 +0100
committerJean Delvare <jdelvare@suse.de>2014-11-12 23:19:24 +0100
commita6987289e594d5bf0492fce7067723bc2ceb2cfc (patch)
tree972cedcf6bbca5a94990f152550206de9f3b4458 /test/auto-refresh.test
parent7189482be1393c7b9e6170410d820f1867e8ec93 (diff)
downloadquilt-a6987289e594d5bf0492fce7067723bc2ceb2cfc.tar.gz
push: Add --refresh option
Add an option to automatically refresh each patch after is was successfully applied.
Diffstat (limited to 'test/auto-refresh.test')
-rw-r--r--test/auto-refresh.test25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/auto-refresh.test b/test/auto-refresh.test
index 9658b71..1367a82 100644
--- a/test/auto-refresh.test
+++ b/test/auto-refresh.test
@@ -28,3 +28,28 @@ $ quilt pop -a --refresh
> Restoring a
>
> No patches applied
+
+$ quilt push -a --refresh
+> Applying patch patches/a.patch
+> patching file a
+> Patch patches/a.patch is unchanged
+>
+> Applying patch patches/b.patch
+> patching file b
+> Patch patches/b.patch is unchanged
+>
+> Now at patch patches/b.patch
+
+$ quilt push -fa --refresh
+> Options -f and --refresh are mutually exclusive
+
+$ quilt pop -a --refresh
+> Patch patches/b.patch is unchanged
+> Removing patch patches/b.patch
+> Restoring b
+>
+> Patch patches/a.patch is unchanged
+> Removing patch patches/a.patch
+> Restoring a
+>
+> No patches applied