From: Avery Pennarun Date: Sat, 31 Jul 2010 00:17:15 +0000 (-0400) Subject: test.sh: check the return code of 'bup random' X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b35fd94fe8d00329d39261366ed91f090e4221c1;p=packages%2Fb%2Fbup.git test.sh: check the return code of 'bup random' Signed-off-by: Avery Pennarun --- diff --git a/t/test.sh b/t/test.sh index 1dca9f1..565afcd 100755 --- a/t/test.sh +++ b/t/test.sh @@ -27,9 +27,9 @@ WVFAIL bup index --check -u $D.fake WVPASS bup index --check -u $D WVPASSEQ "$(bup index --check -p $D)" "$D/" touch $D/a -bup random 128k >$D/b +WVPASS bup random 128k >$D/b mkdir $D/d $D/d/e -bup random 512 >$D/f +WVPASS bup random 512 >$D/f WVPASSEQ "$(bup index -s $D/)" "A $D/" WVPASSEQ "$(bup index -s $D/b)" "" WVPASSEQ "$(bup index --check -us $D/b)" "A $D/b"