From 8f4221ebd254c6216c490f33d8ccb10674f63c7a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 14 May 2003 14:20:23 +0000 Subject: Skip this test if `.' is on an XFS file system. --- tests/du/slink | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/du/slink b/tests/du/slink index fecd39770..787f811ab 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 -- cgit v1.2.3-70-g09d2