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>
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