diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/auto-refresh.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/auto-refresh.test b/test/auto-refresh.test new file mode 100644 index 0000000..9658b71 --- /dev/null +++ b/test/auto-refresh.test @@ -0,0 +1,30 @@ +$ mkdir patches + +$ echo a > a +$ echo b > b + +$ quilt new a.patch +> Patch patches/a.patch is now on top +$ quilt add a +> File a added to patch patches/a.patch +$ echo A > a + +$ quilt new b.patch +> Patch patches/b.patch is now on top +$ quilt add b +> File b added to patch patches/b.patch +$ echo B > b + +$ quilt pop -fa --refresh +> Options -f and --refresh are mutually exclusive + +$ quilt pop -a --refresh +> Refreshed patch patches/b.patch +> Removing patch patches/b.patch +> Restoring b +> +> Refreshed patch patches/a.patch +> Removing patch patches/a.patch +> Restoring a +> +> No patches applied |