summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/init.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/init.cfg b/tests/init.cfg
index fda82bc02..17713d924 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -362,6 +362,12 @@ require_dirent_d_type_()
python < /dev/null \
|| skip_ python missing: assuming no d_type support
+ # Manually exclude xfs, since the test would mistakenly report
+ # that it has d_type support: d_type == DT_DIR for "." and "..",
+ # but DT_UNKNOWN for all other types.
+ df -x xfs . > /dev/null 2>&1 \
+ || skip_ requires d_type support
+
python $abs_srcdir/d_type-check \
|| skip_ requires d_type support
}