diff options
author | Jim Meyering <jim@meyering.net> | 2006-01-12 14:45:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-01-12 14:45:15 +0000 |
commit | d56050cc6fe1b4709dd36596ba27a4b428016979 (patch) | |
tree | 8498c34383e8473fb48fac43289175abf1ffbd01 /tests | |
parent | 2a8499e09f5edaf00b4ec8940935372155ff92e4 (diff) | |
download | coreutils-d56050cc6fe1b4709dd36596ba27a4b428016979.tar.xz |
Create final file *after* the loop.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/du/long-sloop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/du/long-sloop b/tests/du/long-sloop index a37112387..16c4c37ac 100755 --- a/tests/du/long-sloop +++ b/tests/du/long-sloop @@ -32,8 +32,8 @@ mkdir $dir_list || framework_failure=1 for i in $dir_list; do ip1=`expr $i + 1` ln -s ../$ip1 $i/s || framework_failure=1 - test -d $ip1 || echo foo > $ip1 done +echo foo > $ip1 if test $framework_failure = 1; then echo "$0: failure in testing framework" 1>&2 |