From: Rob Browning Date: Sat, 31 Jan 2015 16:41:35 +0000 (-0600) Subject: test-fuse: unset BLOCK_SIZE, etc. for ls output X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=50f55c54d2679a538312de6a923df43c4cc8c768;p=packages%2Fb%2Fbup.git test-fuse: unset BLOCK_SIZE, etc. for ls output If any of the environment variables that this patch removes are set, ls may not provide the expected test output. Thanks to Koen Roossen for reporting the problem, and suggesting the solution. Signed-off-by: Rob Browning Tested-by: Rob Browning --- diff --git a/t/test-fuse.sh b/t/test-fuse.sh index 3e2b3b2..c199182 100755 --- a/t/test-fuse.sh +++ b/t/test-fuse.sh @@ -3,6 +3,8 @@ set -o pipefail +unset BLOCKSIZE BLOCK_SIZE DF_BLOCK_SIZE + if test -n "$(type -p modprobe)" && ! modprobe fuse; then echo 'Unable to load fuse module; skipping dependent tests.' 1>&2 exit 0