]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: df: skip total-verify if df fails
authorJim Meyering <meyering@redhat.com>
Sat, 29 Nov 2008 10:22:00 +0000 (11:22 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 30 Nov 2008 18:15:51 +0000 (19:15 +0100)
* tests/df/total-verify: Skip the test if df fails.

tests/df/total-verify

index caf6d1a9a8392135da68b593ab5cb18003ebbd95..ba27747bff16d050628a12f6d5079903f6b3d9c8 100755 (executable)
@@ -23,6 +23,8 @@ fi
 
 . $srcdir/test-lib.sh
 
+df || skip_test_ "df fails"
+
 cat <<\EOF > check-df || framework_failure
 my ($total, $used, $avail) = (0, 0, 0);
 while (<>)