]> arthur.barton.de Git - bup.git/commitdiff
t/test.sh: add "-a" to ls invocation when testing for .bup exclusion.
authorYung-Chin Oei <yungchin@yungchin.nl>
Mon, 3 Sep 2012 17:10:09 +0000 (18:10 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sat, 8 Sep 2012 05:03:52 +0000 (00:03 -0500)
The bup-exclude test seems be to checking if .bup/ is properly
excluded from the backup, but 'bup ls' will only show this if given
the -a switch.

Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test.sh

index 7e1039f5881d356a443de97831e2249f1e6a4af7..a41959f97fc492f9e87945c80c5db7589c0a217d 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -298,7 +298,7 @@ mkdir $D/d $D/d/e
 WVPASS bup random 512 >$D/f
 WVPASS bup index -ux $D
 bup save -n exclude-bupdir $D
-WVPASSEQ "$(bup ls exclude-bupdir/latest/$TOP/$D/)" "a
+WVPASSEQ "$(bup ls -a exclude-bupdir/latest/$TOP/$D/)" "a
 b
 d/
 f"