From: Jim Meyering Date: Wed, 14 May 2003 14:20:23 +0000 (+0000) Subject: Skip this test if `.' is on an XFS file system. X-Git-Tag: v5.0.1~463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f4221ebd254c6216c490f33d8ccb10674f63c7a;p=thirdparty%2Fcoreutils.git Skip this test if `.' is on an XFS file system. --- diff --git a/tests/du/slink b/tests/du/slink index fecd39770c..787f811abb 100755 --- a/tests/du/slink +++ b/tests/du/slink @@ -26,6 +26,14 @@ else (exit 77); exit fi +df --type=xfs . | tail -n +2 > tmp +if test -s tmp; then + # At least on Irix-6.5.19, when using an xfs file system, + # each created symlink (name lengths up to 255) would have a size of `0'. + echo "$0: skipping this test, since \`.' is on an XFS file system" 1>&2 + (exit 77); exit +fi + if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 (exit 1); exit 1