From: Bernhard Voelker Date: Mon, 9 Dec 2013 01:03:56 +0000 (+0000) Subject: tests: avoid false df failure with nfs and lofs X-Git-Tag: v8.22~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a6189a0ea0e49b542eb10ff3c9032145683ed63;p=thirdparty%2Fcoreutils.git tests: avoid false df failure with nfs and lofs * tests/df/total-unprocessed.sh: -t nfs and --local are _not_ mutually exclusive on solaris, with lofs mounts. --- diff --git a/tests/df/total-unprocessed.sh b/tests/df/total-unprocessed.sh index f6885d5eb4..24b83a9350 100755 --- a/tests/df/total-unprocessed.sh +++ b/tests/df/total-unprocessed.sh @@ -28,7 +28,7 @@ EOF # The following simply finds no match for the combination # of the options --local and FS-type nfs together with the # argument ".". It must exit non-Zero nonetheless. -df --local -t nfs --total '.' 2>out && fail=1 +df -t _non_existent_fstype_ --total '.' 2>out && fail=1 compare exp out || fail=1 cat <<\EOF > exp || framework_failure_