From: Avery Pennarun Date: Sun, 3 Jan 2010 03:10:10 +0000 (-0500) Subject: 'make test' now tests the -t and -c options of bup split. X-Git-Tag: bup-0.01~15 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=c505e56fc1f1b829f0e817ece83652cd1e3b990f;p=bup.git 'make test' now tests the -t and -c options of bup split. --- diff --git a/.gitignore b/.gitignore index 81866eb..f19e1c2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,6 @@ randomgen *~ *.pyc tags[12] +tags2[tc] out[12] +out2[tc] \ No newline at end of file diff --git a/Makefile b/Makefile index c3fdc6e..65ff880 100644 --- a/Makefile +++ b/Makefile @@ -16,13 +16,19 @@ runtests-cmdline: all @echo "Testing \"$@\" in Makefile:" ./bup split --bench -b tags1 ./bup split -vvvv -b testfile2 >tags2 + ./bup split -t testfile2 >tags2t + ./bup split -c testfile2 >tags2c diff -u tags1 tags2 || true wc -c testfile1 testfile2 wc -l tags1 tags2 ./bup join $$(cat tags1) >out1 ./bup join out2 + ./bup join out2t + ./bup join out2c diff -u testfile1 out1 diff -u testfile2 out2 + diff -u testfile2 out2t + diff -u testfile2 out2c test: all runtests-cmdline ./wvtestrun $(MAKE) runtests