diff options
author | Jim Meyering <jim@meyering.net> | 1997-11-03 04:40:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-11-03 04:40:37 +0000 |
commit | f2ddecd37570b84ea1bb85a96e5756aeafd8069e (patch) | |
tree | 4f65344b84c15bfa80181f96ab546be0bc865403 /tests/rm | |
parent | 07e8ae7cb1c74925d68a858efcf2c7e4bded9f80 (diff) | |
download | coreutils-f2ddecd37570b84ea1bb85a96e5756aeafd8069e.tar.xz |
revert last change
Diffstat (limited to 'tests/rm')
-rwxr-xr-x | tests/rm/r-3 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/rm/r-3 b/tests/rm/r-3 index 972ea0b83..a5ee7036f 100755 --- a/tests/rm/r-3 +++ b/tests/rm/r-3 @@ -17,17 +17,15 @@ tmp=$TMPDIR/t-rm.$$ framework_fail=0 mkdir $tmp || framework_fail=1 - a=1 n=300 i=$a echo "creating $n files in $tmp..." -( while :; do echo $i; test $i = 100 && break; i=`expr $i + 1`; done ) > $tmp/.1 -touch `cat $tmp/.1` || framework_fail=1 -( while :; do echo $i; test $i = 200 && break; i=`expr $i + 1`; done ) > $tmp/.2 -touch `cat $tmp/.2` || framework_fail=1 -( while :; do echo $i; test $i = $n && break; i=`expr $i + 1`; done ) > $tmp/.3 -touch `cat $tmp/.3` || framework_fail=1 +while :; do + touch $tmp/$i || framework_fail=1 + test `expr $i = $n` = 1 && break + i=`expr $i + 1` +done test -f $tmp/$a || framework_fail=1 test -f $tmp/$n || framework_fail=1 |