diff options
author | Jim Meyering <jim@meyering.net> | 2006-05-11 07:29:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-05-11 07:29:53 +0000 |
commit | 029057a361b40236bdfd3636473f64007717839c (patch) | |
tree | 81015e63cae290a6428dd58ce674c8581737b35c /tests/du | |
parent | 6dd69d32817dd73519695575fabf62037687a391 (diff) | |
download | coreutils-029057a361b40236bdfd3636473f64007717839c.tar.xz |
Avoid harmless `ambiguous redirect' diagnostic.
Diffstat (limited to 'tests/du')
-rwxr-xr-x | tests/du/long-sloop | 4 |
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 |