summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-24 14:02:35 +0000
committerJim Meyering <jim@meyering.net>2006-07-24 14:02:35 +0000
commitf2641bb9f7c5ec43d9f8426aae5e3a96ca44a063 (patch)
tree6d30fd6d2bb2669186f54b5fd2bc19e53cf0e05f /tests
parent7192610528651f538496d3f85326f703556329ec (diff)
downloadcoreutils-f2641bb9f7c5ec43d9f8426aae5e3a96ca44a063.tar.xz
Skip this test on reiserfs, since that file system lacks d_type support.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ls/stat-dtype9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/ls/stat-dtype b/tests/ls/stat-dtype
index 30a84b655..ac4bc400b 100755
--- a/tests/ls/stat-dtype
+++ b/tests/ls/stat-dtype
@@ -9,11 +9,10 @@ fi
. $srcdir/../envvar-check
# Skip this test unless "." is on a file system with useful d_type info.
-# FIXME: use a more dynamic test for this, since whether
-# d_type is useful depends on much more than the file system type.
-# For example, with linux-2.6.15, at least tmpfs, ext3 and reiserfs work,
-# but xfs doesn't. Here's hoping that this kludge is enough for now.
-df -t tmpfs -t ext3 -t reiserfs . 2> /dev/null ||
+# FIXME: use a more dynamic test for this, since whether d_type is useful
+# depends on much more than the file system type. For example, with
+# linux-2.6.15, at least tmpfs and ext3 work, but reiserfs and xfs don't.
+df -t tmpfs -t ext3 . 2> /dev/null ||
{
echo "$0: '.' is not on a suitable file system for this test" 1>&2
echo "$0: skipping this test" 1>&2