diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ls/stat-dtype | 9 |
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 |