From: Jim Meyering Date: Fri, 23 Mar 2012 17:39:11 +0000 (+0100) Subject: tests: skip ls/stat-free-color on XFS, rather than always failing X-Git-Tag: v8.16~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=488172c499dd8edf84f44cbab3de5d6f75dd722e;p=thirdparty%2Fcoreutils.git tests: skip ls/stat-free-color on XFS, rather than always failing * tests/init.cfg (require_dirent_d_type_): Manually skip when "." is an xfs file system. --- diff --git a/tests/init.cfg b/tests/init.cfg index fda82bc028..17713d9243 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 }