summaryrefslogtreecommitdiffstats
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
parent886b6391181e178cf2fe5db6342f2b2f377f2a48 (diff)
downloadquilt-ef7e2b2116af23fd32ae8040737c9ca0a523eb65.tar.gz
- test/remove2.test: Test for remove + refresh interactions.
-rw-r--r--quilt.changes5
-rw-r--r--test/remove2.test28
2 files changed, 33 insertions, 0 deletions
diff --git a/quilt.changes b/quilt.changes
index 753100d..1b73316 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Jun 1 13:19:13 CEST 2005 - agruen@suse.de
+
+- test/remove2.test: Test for remove + refresh interactions.
+
+-------------------------------------------------------------------
Tue May 24 01:25:30 CEST 2005 - agruen@suse.de
- quilt.quiltrc: A minor cleanup in quilt_mail_patch_filter().
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