From e5cb46abc29370e7941b554b7d5b6e44b9b5de10 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Sun, 31 Jan 2010 16:49:59 -0500 Subject: [PATCH] Move testfile[12] into t/ Since they're only used for testing, they belong there, after all. --- t/test.sh | 20 ++++++++++---------- testfile1 => t/testfile1 | 0 testfile2 => t/testfile2 | 0 3 files changed, 10 insertions(+), 10 deletions(-) rename testfile1 => t/testfile1 (100%) rename testfile2 => t/testfile2 (100%) diff --git a/t/test.sh b/t/test.sh index eade5f8..e89a571 100755 --- 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 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 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 out2.tmp WVPASS bup join out2t.tmp WVPASS bup join -r "$BUP_DIR" 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" ( diff --git a/testfile1 b/t/testfile1 similarity index 100% rename from testfile1 rename to t/testfile1 diff --git a/testfile2 b/t/testfile2 similarity index 100% rename from testfile2 rename to t/testfile2 -- 2.39.5