summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-06-06 18:42:14 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-06-06 18:42:14 +0000
commitbf2a07ca502272ae28762b3fa9b0dd68db8dc7f0 (patch)
treec558b836e59a85047d00f8363b6dc54a68529341 /test
parent258c42fe9367b321b686492441346347390db664 (diff)
downloadquilt-bf2a07ca502272ae28762b3fa9b0dd68db8dc7f0.tar.gz
- Preserve the order of files in patches in the diff and refresh
commands. Files added to a patch appear at the end of a patch. The files command also lists the files in the order in which they appear in patches. - Update to version 0.33.
Diffstat (limited to 'test')
-rw-r--r--test/reorder.test11
1 files changed, 8 insertions, 3 deletions
diff --git a/test/reorder.test b/test/reorder.test
index b592932..8e45572 100644
--- a/test/reorder.test
+++ b/test/reorder.test
@@ -19,6 +19,7 @@ Regression test: Quilt did reorder files in patches.
$ cat > patches/series
< test.diff -p0
+
$ quilt push -q
> Applying test.diff
> Now at patch test.diff
@@ -28,7 +29,6 @@ Regression test: Quilt did reorder files in patches.
> No patches applied
$ echo one > h
- $ sleep 2
$ cat >> patches/test.diff
< --- h.orig
< +++ h
@@ -41,15 +41,20 @@ Regression test: Quilt did reorder files in patches.
> Now at patch test.diff
$ quilt files
- > f
> g
+ > f
> h
+ $ grep "^+++ " patches/test.diff
+ > +++ g
+ > +++ f
+ > +++ h
+
$ quilt refresh
> Refreshed patch test.diff
$ grep "^+++ " patches/test.diff
- > +++ f
> +++ g
+ > +++ f
> +++ h
$ cd ..