summaryrefslogtreecommitdiff
path: root/tests/df/no-mtab-status.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/df/no-mtab-status.sh')
-rwxr-xr-xtests/df/no-mtab-status.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/df/no-mtab-status.sh b/tests/df/no-mtab-status.sh
index 0c1bec8ef..49d12558d 100755
--- a/tests/df/no-mtab-status.sh
+++ b/tests/df/no-mtab-status.sh
@@ -21,7 +21,8 @@
print_ver_ df
require_gcc_shared_
-df || skip_ "df fails"
+# Protect against inaccessible remote mounts etc.
+timeout 10 df || skip_ "df fails"
grep '^#define HAVE_MNTENT_H 1' $CONFIG_HEADER > /dev/null \
|| skip_ "no mntent.h available to confirm the interface"