From f2641bb9f7c5ec43d9f8426aae5e3a96ca44a063 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Jul 2006 14:02:35 +0000 Subject: [PATCH] Skip this test on reiserfs, since that file system lacks d_type support. --- ChangeLog | 5 +++++ tests/ls/stat-dtype | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3022af5..2ac58ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-24 Jim Meyering + + * tests/ls/stat-dtype: Skip this test on reiserfs, since that file + system lacks d_type support. + 2006-07-22 Paul Eggert * man/chmod.x: Update to reflect recent changes to coreutils.texi. diff --git a/tests/ls/stat-dtype b/tests/ls/stat-dtype index 30a84b6..ac4bc40 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 -- 2.7.4