]> arthur.barton.de Git - bup.git/commitdiff
'make test' now tests the -t and -c options of bup split.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 3 Jan 2010 03:10:10 +0000 (22:10 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 3 Jan 2010 03:10:10 +0000 (22:10 -0500)
.gitignore
Makefile

index 81866ebcd3ac0e0e08f95d664ec04589346c3cc0..f19e1c2c4c0d3bd39cac438b7ffe3a68c4112abe 100644 (file)
@@ -8,4 +8,6 @@ randomgen
 *~
 *.pyc
 tags[12]
+tags2[tc]
 out[12]
+out2[tc]
\ No newline at end of file
index c3fdc6eb919332b188bf42b8e373198ff67d0fbb..65ff880d644ad3a0f734463ff1427d435a3aad7d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,13 +16,19 @@ runtests-cmdline: all
        @echo "Testing \"$@\" in Makefile:"
        ./bup split --bench -b <testfile1 >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 <tags2 >out2
+       ./bup join <tags2t >out2t
+       ./bup join <tags2c >out2c
        diff -u testfile1 out1
        diff -u testfile2 out2
+       diff -u testfile2 out2t
+       diff -u testfile2 out2c
        
 test: all runtests-cmdline
        ./wvtestrun $(MAKE) runtests