summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-06-01 11:20:32 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-06-01 11:20:32 +0000
commitef7e2b2116af23fd32ae8040737c9ca0a523eb65 (patch)
tree6ae1c0a84f69b82a4f6c499310d1227a6f0b30ab /test
parent886b6391181e178cf2fe5db6342f2b2f377f2a48 (diff)
downloadquilt-ef7e2b2116af23fd32ae8040737c9ca0a523eb65.tar.gz
- test/remove2.test: Test for remove + refresh interactions.
Diffstat (limited to 'test')
-rw-r--r--test/remove2.test28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/remove2.test b/test/remove2.test
new file mode 100644
index 0000000..d2a8005
--- /dev/null
+++ b/test/remove2.test
@@ -0,0 +1,28 @@
+ $ mkdir d
+ $ cd d
+
+ $ quilt new remove.patch
+ > Patch patches/remove.patch is now on top
+
+ $ quilt add foo bar baz
+ > File foo added to patch patches/remove.patch
+ > File bar added to patch patches/remove.patch
+ > File baz added to patch patches/remove.patch
+
+ $ echo foo > foo
+ $ echo bar > bar
+ $ echo baz > baz
+ $ quilt remove baz
+ > File baz removed from patch patches/remove.patch
+
+ $ quilt refresh
+ > Refreshed patch patches/remove.patch
+
+ $ quilt remove bar
+ > File bar removed from patch patches/remove.patch
+
+ $ quilt refresh
+ > Refreshed patch patches/remove.patch
+
+ $ cd ..
+ $ rm -rf d