summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-03-21 15:57:13 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-03-21 15:57:13 +0000
commit89ecf7e2648113efec3389e4dc3361d04bb45369 (patch)
tree1b7c84d405d9668f2e9d9bff0c5829a8ddb94ffb /test
parent25736803b5e7b232cdc04fd531765b8ec36e2c8a (diff)
downloadquilt-89ecf7e2648113efec3389e4dc3361d04bb45369.tar.gz
- quilt/edit.in: The last fix broke another way of using edit.
Diffstat (limited to 'test')
-rw-r--r--test/edit.test16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/edit.test b/test/edit.test
index 4c4c542..ee1c1f6 100644
--- a/test/edit.test
+++ b/test/edit.test
@@ -12,14 +12,28 @@ $ export EDITOR=%PWD/editor
$ quilt new patch
> Patch patches/patch is now on top
+
+$ echo foobar > foobar
+$ quilt edit foobar
+> File foobar added to patch patches/patch
+> Editing foobar
+
$ cd subdir
$ echo foo > foo
$ quilt edit foo
> File subdir/foo added to patch ../patches/patch
> Editing subdir/foo
-$ cat foo
+$ cd ..
+$ cat foobar
+> barbar
+
+$ cat subdir/foo
> bar
+$ quilt files
+> foobar
+> subdir/foo
+
$ cd ../..
$ rm -rf d