X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=t%2Ftest-split-join.sh;h=1a5d659b3e4c36cff76c4861347d2e8f669c645f;hb=ae9cde2e3df85569bf76487a9528080926841db5;hp=8e3cc4d584a866023de940b6f1eddff2a7e18c9a;hpb=fbe7649964c30ef12a7622cfad63dedbde9ec85a;p=bup.git diff --git a/t/test-split-join.sh b/t/test-split-join.sh index 8e3cc4d..1a5d659 100755 --- a/t/test-split-join.sh +++ b/t/test-split-join.sh @@ -15,6 +15,13 @@ WVPASS cd "$tmpdir" WVPASS bup init +WVSTART "split --noop" +WVPASS bup split --noop <"$top/t/testfile1" >noop.tmp +WVPASSEQ '' "$(tags1n.tmp +WVPASS bup split --noop -t <"$top/t/testfile2" >tags2tn.tmp +WVPASSEQ $(find "$BUP_DIR/objects/pack" -name '*.pack' | wc -l) 0 + WVSTART "split" WVPASS echo a >a.tmp WVPASS echo b >b.tmp @@ -66,6 +73,8 @@ WVPASS bup ls /lslr/latest WVPASS bup ls /lslr/latest/ #WVPASS bup ls /lslr/1971-01-01 # all dates always exist WVFAIL diff -u tags1.tmp tags2.tmp +WVPASS diff -u tags1.tmp tags1n.tmp +WVPASS diff -u tags2t.tmp tags2tn.tmp # fanout must be different from non-fanout WVFAIL diff tags2t.tmp tags2tf.tmp