From: Tim Riemenschneider Date: Wed, 30 Jul 2014 18:39:47 +0000 (+0200) Subject: test-fuse.sh: make ls output locale independent X-Git-Tag: 0.27-rc1~48 X-Git-Url: https://arthur.barton.de/gitweb/?p=bup.git;a=commitdiff_plain;h=2450055507cd709da9467335f8e5ee83c724360d test-fuse.sh: make ls output locale independent Call "ls" with LC_ALL set to "C". (Otherwise it reports "total" for English, "insgesamt" for German; other locales would be similar.) Signed-off-by: Tim Riemenschneider [rlb@defaultvalue.org: adjust commit message] Reviewed-by: Rob Browning Tested-by: Rob Browning --- diff --git a/t/test-fuse.sh b/t/test-fuse.sh index 2363293..f258889 100755 --- a/t/test-fuse.sh +++ b/t/test-fuse.sh @@ -67,7 +67,7 @@ WVPASS fusermount -uz mnt WVSTART "extended metadata" WVPASS bup fuse --meta mnt -result=$(TZ=UTC WVPASS ls -l mnt/src/latest/) || exit $? +result=$(TZ=UTC LC_ALL=C WVPASS ls -l mnt/src/latest/) || exit $? readonly user=$(WVPASS id -un) || $? readonly group=$(WVPASS id -gn) || $? WVPASSEQ "$result" "total 0