3 echo "Testing \"integration\" in $0:"
6 export BUP_DIR="$TOP/buptest.tmp"
16 bup split --bench -b <testfile1 >tags1.tmp
17 bup split -vvvv -b testfile2 >tags2.tmp
18 bup split -t testfile2 >tags2t.tmp
19 bup split -c testfile2 >tags2c.tmp
20 diff -u tags1.tmp tags2.tmp || true
21 wc -c testfile1 testfile2
22 wc -l tags1.tmp tags2.tmp
23 bup join $(cat tags1.tmp) >out1.tmp
24 bup join <tags2.tmp >out2.tmp
25 bup join <tags2t.tmp >out2t.tmp
26 bup join <tags2c.tmp >out2c.tmp
27 diff -u testfile1 out1.tmp
28 diff -u testfile2 out2.tmp
29 diff -u testfile2 out2t.tmp
30 diff -u testfile2 out2c.tmp
34 cd "$BUP_DIR" || exit 1
37 (cd "$TOP/t/sampledata" && bup save -vvn master .) || exit 1
38 n=$(git fsck --full --strict 2>&1 | tee /dev/stderr | wc -l)
39 if [ "$n" != 0 ]; then
40 echo "git fsck error."