diff options
author | Jim Meyering <jim@meyering.net> | 1997-11-03 04:50:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-11-03 04:50:11 +0000 |
commit | 3f3c12d723d4767da81ea4aa98e7784aff1e4e93 (patch) | |
tree | 4b729770b395df91ba43d2725370d4811a3d2a06 /tests | |
parent | f2ddecd37570b84ea1bb85a96e5756aeafd8069e (diff) | |
download | coreutils-3f3c12d723d4767da81ea4aa98e7784aff1e4e93.tar.xz |
don't use touch
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/rm/r-3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/r-3 b/tests/rm/r-3 index a5ee7036f..baba42d83 100755 --- a/tests/rm/r-3 +++ b/tests/rm/r-3 @@ -22,8 +22,8 @@ n=300 i=$a echo "creating $n files in $tmp..." while :; do - touch $tmp/$i || framework_fail=1 - test `expr $i = $n` = 1 && break + > $tmp/$i || framework_fail=1 + test $i = $n && break i=`expr $i + 1` done |