]> arthur.barton.de Git - bup.git/commitdiff
t/test.sh: work around NetBSD setting -A for 'ls' when root (again).
authorZoran Zaric <zz@zoranzaric.de>
Sat, 23 Mar 2013 20:36:17 +0000 (21:36 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 24 Mar 2013 00:46:42 +0000 (19:46 -0500)
Apply the same workaround for the "compression9" tests that was
applied in commit 51bd5832b391f4c128cc42a3a5970733775f1ba7.

Signed-off-by: Zoran Zaric <zz@zoranzaric.de>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
t/test.sh

index afa38f0c621a726952c2fb824e462cf20cc3cdd1..32173c83ad813463854efd60e048462f1230afb9 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -657,7 +657,8 @@ mkdir $D
 WVPASS bup init
 WVPASS bup index $TOP/Documentation
 WVPASS bup save -n compression -9 --strip $TOP/Documentation
-WVPASSEQ "$(bup ls compression/latest/ | sort)" "$(ls $TOP/Documentation | sort)"
+WVPASSEQ "$(bup ls compression/latest/ | sort)" \
+         "$(ls $TOP/Documentation | grep -v '^\.' | sort)"
 COMPRESSION_9_SIZE=$(du -k -s $D | cut -f1)
 
 WVPASS [ "$COMPRESSION_9_SIZE" -lt "$COMPRESSION_0_SIZE" ]