[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: avoid false df failure with nfs and lofs
From: |
Pádraig Brady |
Subject: |
[PATCH] tests: avoid false df failure with nfs and lofs |
Date: |
Mon, 9 Dec 2013 01:06:37 +0000 |
* tests/df/total-unprocessed.sh: -t nfs and --local are
_not_ mutually exclusive on solaris, with lofs mounts.
---
tests/df/total-unprocessed.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/df/total-unprocessed.sh b/tests/df/total-unprocessed.sh
index f6885d5..a1ce2c7 100755
--- a/tests/df/total-unprocessed.sh
+++ b/tests/df/total-unprocessed.sh
@@ -21,6 +21,9 @@
print_ver_ df
require_mount_list_
+# This is the case with lofs and nfs on the same mount point
+df --local -t nfs . 2>/dev/null && skip_ 'both nfs and local'
+
cat <<\EOF > exp || framework_failure_
df: no file systems processed
EOF
--
1.7.7.6
- [PATCH] tests: avoid false df failure with nfs and lofs,
Pádraig Brady <=