summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-11-29 11:22:00 +0100
committerJim Meyering <meyering@redhat.com>2008-11-30 19:15:51 +0100
commit90f74735aa2f4753a3ae9cea848ef98daa31b7a6 (patch)
treeaccf43a0408178cf3272f5f10d79c27c11e28a00
parentd6a62182f07766296244ccc4f8c2d1a800e987bd (diff)
downloadcoreutils-90f74735aa2f4753a3ae9cea848ef98daa31b7a6.tar.xz
tests: df: skip total-verify if df fails
* tests/df/total-verify: Skip the test if df fails.
-rwxr-xr-xtests/df/total-verify2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/df/total-verify b/tests/df/total-verify
index caf6d1a9a..ba27747bf 100755
--- a/tests/df/total-verify
+++ b/tests/df/total-verify
@@ -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 (<>)