summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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