projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dabfc7
)
skip the test on a system that can handle this many symlinks in a file name,
author
Jim Meyering
<jim@meyering.net>
Thu, 12 Jan 2006 09:25:33 +0000
(09:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 12 Jan 2006 09:25:33 +0000
(09:25 +0000)
tests/du/long-sloop
patch
|
blob
|
history
diff --git
a/tests/du/long-sloop
b/tests/du/long-sloop
index 8e777dc5215e8cc8409e734a9552c3793acfd24a..f857e74db54fab3df72530f9d4e8dabf9ee82eb6 100755
(executable)
--- a/
tests/du/long-sloop
+++ b/
tests/du/long-sloop
@@
-39,6
+39,18
@@
if test $framework_failure = 1; then
(exit 1); exit 1
fi
+# If a system can handle this many symlinks in a file name,
+# just skip this test.
+file=1`printf %${n}s ' '|sed 's, ,/s,g'`
+cat $file > /dev/null 2>&1 && \
+ {
+ cat <<EOF >&2
+$0: Your systems appears to be able to handle more than $n symlinks
+in file name resolution, so skipping this test.
+EOF
+ (exit 77); exit 77
+ }
+
fail=0
# With coreutils-5.93 there was no failure.