summaryrefslogtreecommitdiff
path: root/tests/du
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-01-12 14:45:15 +0000
committerJim Meyering <jim@meyering.net>2006-01-12 14:45:15 +0000
commitd56050cc6fe1b4709dd36596ba27a4b428016979 (patch)
tree8498c34383e8473fb48fac43289175abf1ffbd01 /tests/du
parent2a8499e09f5edaf00b4ec8940935372155ff92e4 (diff)
downloadcoreutils-d56050cc6fe1b4709dd36596ba27a4b428016979.tar.xz
Create final file *after* the loop.
Diffstat (limited to 'tests/du')
-rwxr-xr-xtests/du/long-sloop2
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