]> arthur.barton.de Git - bup.git/blobdiff - t/test.sh
Move testfile[12] into t/
[bup.git] / t / test.sh
index eade5f89a593d0a5b320d118fe46ae56f708a455..e89a571180fe3595edc4a976f45fab70cff50853 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -63,18 +63,18 @@ WVPASSEQ "$(cd $D && bup index -s .)" "$(cd $D && bup index -s .)"
 
 
 WVSTART "split"
-WVPASS bup split --bench -b <testfile1 >tags1.tmp
-WVPASS bup split -vvvv -b testfile2 >tags2.tmp
-WVPASS bup split -t testfile2 >tags2t.tmp
-WVPASS bup split -t testfile2 --fanout 3 >tags2tf.tmp
-WVPASS bup split -r "$BUP_DIR" -c testfile2 >tags2c.tmp
+WVPASS bup split --bench -b <t/testfile1 >tags1.tmp
+WVPASS bup split -vvvv -b t/testfile2 >tags2.tmp
+WVPASS bup split -t t/testfile2 >tags2t.tmp
+WVPASS bup split -t t/testfile2 --fanout 3 >tags2tf.tmp
+WVPASS bup split -r "$BUP_DIR" -c t/testfile2 >tags2c.tmp
 WVPASS ls -lR \
    | WVPASS bup split -r "$BUP_DIR" -c --fanout 3 --max-pack-objects 3 -n lslr
 WVFAIL diff -u tags1.tmp tags2.tmp
 
 # fanout must be different from non-fanout
 WVFAIL diff -q tags2t.tmp tags2tf.tmp
-wc -c testfile1 testfile2
+wc -c t/testfile1 t/testfile2
 wc -l tags1.tmp tags2.tmp
 
 WVSTART "join"
@@ -82,10 +82,10 @@ WVPASS bup join $(cat tags1.tmp) >out1.tmp
 WVPASS bup join <tags2.tmp >out2.tmp
 WVPASS bup join <tags2t.tmp >out2t.tmp
 WVPASS bup join -r "$BUP_DIR" <tags2c.tmp >out2c.tmp
-WVPASS diff -u testfile1 out1.tmp
-WVPASS diff -u testfile2 out2.tmp
-WVPASS diff -u testfile2 out2t.tmp
-WVPASS diff -u testfile2 out2c.tmp
+WVPASS diff -u t/testfile1 out1.tmp
+WVPASS diff -u t/testfile2 out2.tmp
+WVPASS diff -u t/testfile2 out2t.tmp
+WVPASS diff -u t/testfile2 out2c.tmp
 
 WVSTART "save/git-fsck"
 (