]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid false df failure with nfs and lofs
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 9 Dec 2013 01:03:56 +0000 (01:03 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 9 Dec 2013 09:24:24 +0000 (09:24 +0000)
* tests/df/total-unprocessed.sh: -t nfs and --local are
_not_ mutually exclusive on solaris, with lofs mounts.

tests/df/total-unprocessed.sh

index f6885d5eb4736cb159c89b1f86feedf35da9abc8..24b83a9350fe1b63acbf8fdf188ec37af59c98cb 100755 (executable)
@@ -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_