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 -t testfile2 --fanout 3 >tags2tf.tmp
20 bup split -r "$BUP_DIR" -c testfile2 >tags2c.tmp
21 ls -lR | bup split -r "$BUP_DIR" -c --fanout 3 --max-pack-objects 3 -n lslr
22 diff -u tags1.tmp tags2.tmp || true
23 if diff -q tags2t.tmp tags2tf.tmp; then
24 echo "fanout tree same as non-fanout tree!?"
27 wc -c testfile1 testfile2
28 wc -l tags1.tmp tags2.tmp
29 bup join $(cat tags1.tmp) >out1.tmp
30 bup join <tags2.tmp >out2.tmp
31 bup join <tags2t.tmp >out2t.tmp
32 bup join -r "$BUP_DIR" <tags2c.tmp >out2c.tmp
33 diff -u testfile1 out1.tmp
34 diff -u testfile2 out2.tmp
35 diff -u testfile2 out2t.tmp
36 diff -u testfile2 out2c.tmp
40 cd "$BUP_DIR" || exit 1
43 (cd "$TOP/t/sampledata" && bup save -vvn master .) || exit 1
44 n=$(git fsck --full --strict 2>&1 |
45 egrep -v 'dangling (commit|tree)' |
48 if [ "$n" -ne 0 ]; then
49 echo "git fsck error."