summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-11 08:40:11 +0000
committerJim Meyering <jim@meyering.net>2006-08-11 08:40:11 +0000
commit9236b6befcef5cac424ff99619edbb0f6336a5e5 (patch)
tree9f8c08a182789456d5c10250b6d26b6987c59272 /tests/ls
parentcfbf64e0870a615e3d640e6ebb6183d635f3973d (diff)
downloadcoreutils-9236b6befcef5cac424ff99619edbb0f6336a5e5.tar.xz
* tests/ls/stat-vs-dirent: Too many (losing) systems trigger the
failure that this test checks for (stat/dirent inode mismatch at a mount point), so continue to give a diagnostic about the failure, but don't actually count it as a failure.
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/stat-vs-dirent11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/ls/stat-vs-dirent b/tests/ls/stat-vs-dirent
index 2e0c0282d..048ba5fc4 100755
--- a/tests/ls/stat-vs-dirent
+++ b/tests/ls/stat-vs-dirent
@@ -46,7 +46,16 @@ while :; do
echo "$0: test failed: $t/$file: d_ino($d_ino) != st_ino($st_ino)" 1>&2
echo "$0: This may indicate a flaw in your kernel or" \
"file system implementation." 1>&2
- fail=1
+ echo "$0: This flaw won't impact coreutils, but it may well"
+ "affect other tools,"
+ echo "$0: so you should report it to your operating system vendor." 1>&2
+
+ # This test fails too often, and we don't want to be distracted
+ # with reports, since the code that could be affected by the losing
+ # behavior (pwd and getcwd) works around any mismatch.
+ # So do continue to issue the warning, but don't count it as a
+ # real failure.
+ # fail=1
break
fi
fi