summaryrefslogtreecommitdiff
path: root/tests/du/long-sloop
diff options
context:
space:
mode:
Diffstat (limited to 'tests/du/long-sloop')
-rwxr-xr-xtests/du/long-sloop4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/du/long-sloop b/tests/du/long-sloop
index b05678a05..2dee47be9 100755
--- a/tests/du/long-sloop
+++ b/tests/du/long-sloop
@@ -40,7 +40,7 @@ for i in $dir_list `expr $n + 1`; do
esac
i_minus_1=$i
done
-echo foo > $ip1
+echo foo > $i
if test $framework_failure = 1; then
echo "$0: failure in testing framework" 1>&2
@@ -69,7 +69,7 @@ too_many=`sed 's/.*: //' err`
fail=0
# With coreutils-5.93 there was no failure.
-# With coreutils-5.94 we get a diagnostic like this:
+# With coreutils-5.94 we get the desired diagnostic:
# du: cannot access `1/s/s/s/.../s': Too many levels of symbolic links
du -L 1 > /dev/null 2> out1 && fail=1
sed "s, .1/s/s/s/[/s]*',," out1 > out || fail=1