diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 10 | ||||
-rw-r--r-- | test/fold.test | 4 | ||||
-rw-r--r-- | test/new.test | 2 | ||||
-rw-r--r-- | test/one.test | 6 | ||||
-rw-r--r-- | test/subdir.test | 4 | ||||
-rw-r--r-- | test/two.test | 6 |
6 files changed, 21 insertions, 11 deletions
diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..0595d2e --- /dev/null +++ b/test/Makefile @@ -0,0 +1,10 @@ +TESTS=$(wildcard *.test) + +all: $(patsubst %,_test_%,$(TESTS)) + +.PHONY: $(patsubst %,_test_%,$(TESTS)) +$(patsubst %,_test_%,$(TESTS)): + @test=$(patsubst _test_%,%,$@); \ + echo "[$$test]" ; \ + export QUILTRC=test.quiltrc ; \ + ./run $$test 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. diff --git a/test/new.test b/test/new.test index dfa8f64..e46bba1 100644 --- a/test/new.test +++ b/test/new.test @@ -44,7 +44,7 @@ > +new > Index: d/g > =================================================================== - > --- d.orig/g + > --- /dev/null > +++ d/g > @@ -0,0 +1 @@ > +added diff --git a/test/one.test b/test/one.test index ce29235..6d92dcb 100644 --- a/test/one.test +++ b/test/one.test @@ -27,7 +27,7 @@ of the installed quilt with `make check'. $ quilt diff | sed -e "s/\\t.*//" > Index: d/file2 > =================================================================== - > --- d.orig/file2 + > --- /dev/null > +++ d/file2 > @@ -0,0 +1 @@ > +This is file two. @@ -35,7 +35,7 @@ of the installed quilt with `make check'. $ quilt diff -z | sed -e "s/\\t.*//" > Index: d/file2 > =================================================================== - > --- d.orig/file2 + > --- /dev/null > +++ d/file2 > @@ -0,0 +1 @@ > +This is file two. @@ -109,7 +109,7 @@ of the installed quilt with `make check'. > Index: d/file4 > =================================================================== > --- d.orig/file4 - > +++ d/file4 + > +++ /dev/null > @@ -1 +0,0 @@ > -This is file 4. diff --git a/test/subdir.test b/test/subdir.test index 5e6bbda..e4334d5 100644 --- a/test/subdir.test +++ b/test/subdir.test @@ -48,14 +48,14 @@ > +new contents > Index: d/subdir/file2 > =================================================================== - > --- d.orig/subdir/file2 + > --- /dev/null > +++ d/subdir/file2 > @@ -0,0 +1 @@ > +another file > Index: d/subdir/file3 > =================================================================== > --- d.orig/subdir/file3 - > +++ d/subdir/file3 + > +++ /dev/null > @@ -1 +0,0 @@ > -yet another file diff --git a/test/two.test b/test/two.test index 372dd72..bbacbae 100644 --- a/test/two.test +++ b/test/two.test @@ -23,7 +23,7 @@ $ quilt diff | sed -e "s/\\t.*//" > Index: d/d/file2 > =================================================================== - > --- d.orig/d/file2 + > --- /dev/null > +++ d/d/file2 > @@ -0,0 +1 @@ > +This is file two. @@ -31,7 +31,7 @@ $ quilt diff -z | sed -e "s/\\t.*//" > Index: d/d/file2 > =================================================================== - > --- d.orig/d/file2 + > --- /dev/null > +++ d/d/file2 > @@ -0,0 +1 @@ > +This is file two. @@ -112,7 +112,7 @@ > Index: d/d/file4 > =================================================================== > --- d.orig/d/file4 - > +++ d/d/file4 + > +++ /dev/null > @@ -1 +0,0 @@ > -This is file 4. |