diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-04-09 02:03:17 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-04-09 02:03:17 +0000 |
commit | 1ce104d8a2487cc8f5d5b4ed351a3651392cb496 (patch) | |
tree | 2029ede5c4291ebe5c66a1e1b24a2ebec7bfbf60 /test/reorder.test | |
parent | 424a9319932c7d9ff6a3fca54d76218c6e63a9e9 (diff) | |
download | quilt-1ce104d8a2487cc8f5d5b4ed351a3651392cb496.tar.gz |
- Never reorder files in patches. (Previously the file list
was run through (sort | uniq) to remove duplicate entries.)
- Update test script to new format, and add regression test
cases.
Diffstat (limited to 'test/reorder.test')
-rw-r--r-- | test/reorder.test | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/test/reorder.test b/test/reorder.test new file mode 100644 index 0000000..7acdf45 --- /dev/null +++ b/test/reorder.test @@ -0,0 +1,49 @@ +Regression test: Quilt did reorder files in patches. + + $ mkdir d + $ cd d + $ echo one > f + $ echo one > g + $ mkdir patches + $ cat > patches/test.diff + < --- g.orig 2003-04-09 01:48:01.000000000 +0200 + < +++ g 2003-04-09 01:49:17.000000000 +0200 + < @@ -1 +1 @@ + < -one + < +two + < --- f.orig 2003-04-09 01:48:01.000000000 +0200 + < +++ f 2003-04-09 01:49:17.000000000 +0200 + < @@ -1 +1 @@ + < -one + < +two + + $ cat > patches/series + < test.diff -p0 + $ quilt push -q + > Applying test + > Now at patch test + + $ quilt pop -q + > Removing test + > No patches applied + + $ echo one > h + $ sleep 2 + $ cat >> patches/test.diff + < --- h.orig 2003-04-09 01:48:01.000000000 +0200 + < +++ h 2003-04-09 01:49:17.000000000 +0200 + < @@ -1 +1 @@ + < -one + < +two + + $ quilt push -q + > Applying test + > Now at patch test + + $ quilt files + > g + > f + > h + + $ cd .. + $ rm -rf d |