summaryrefslogtreecommitdiffstats
path: root/test/fold.test
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-06-10 20:08:37 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-06-10 20:08:37 +0000
commit71d64f6c066574e47dfc0363efc576dd21474f8e (patch)
treefba3c6f2e10b661c208d0c06d32c4b2ad4ced93b /test/fold.test
parent27a5cb45dd2f3fa87f295fb3c5de91de96ba3a7b (diff)
downloadquilt-71d64f6c066574e47dfc0363efc576dd21474f8e.tar.gz
- Add meta-data version check/upgrade code from Martin Quinson and
me; new `quilt upgrade' command. - Handle new/removed files correctly in generated patches: If the old or new file is missing, the file name in the patch should be /dev/null. Fix test suite accordingly, and add test/create-delete.diff. GNU patch recognizes this, and does additional file existance tests when a patch creates/deletes a file. Also use the --label option of GNU diff instead of hand-editing file name headers. - Add test/Makefile for running the test suite. Note: The tests run against the installed version of quilt! - Bump version to 0.34.
Diffstat (limited to 'test/fold.test')
-rw-r--r--test/fold.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fold.test b/test/fold.test
index 0695909..331138a 100644
--- a/test/fold.test
+++ b/test/fold.test
@@ -38,13 +38,13 @@
$ quilt diff | sed -e "s/\\t.*//"
> Index: d/dir/file3.txt
> ===================================================================
- > --- d.orig/dir/file3.txt
+ > --- /dev/null
> +++ d/dir/file3.txt
> @@ -0,0 +1 @@
> +This is file3.txt.
> Index: d/file1.txt
> ===================================================================
- > --- d.orig/file1.txt
+ > --- /dev/null
> +++ d/file1.txt
> @@ -0,0 +1 @@
> +This is file1.txt.