]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Avoid harmless `ambiguous redirect' diagnostic.
authorJim Meyering <jim@meyering.net>
Thu, 11 May 2006 07:29:53 +0000 (07:29 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 May 2006 07:29:53 +0000 (07:29 +0000)
tests/du/long-sloop

index b05678a05073d2076541bdad61cdb40647367be7..2dee47be90b3f8e9e713ed8b49c1a878c08fc1ef 100755 (executable)
@@ -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