]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
test-fuse: unset BLOCK_SIZE, etc. for ls output
authorRob Browning <rlb@defaultvalue.org>
Sat, 31 Jan 2015 16:41:35 +0000 (10:41 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 31 Jan 2015 17:00:45 +0000 (11:00 -0600)
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 <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
t/test-fuse.sh

index 3e2b3b288752e2f4e1c46ec05634ae2c63887d63..c19918284cc30d2e401b81d2348b5b00a95c9c41 100755 (executable)
@@ -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