summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-12 12:44:01 +0000
committerJim Meyering <jim@meyering.net>2001-11-12 12:44:01 +0000
commit2b22830114976b1a9404af32bede4bc4b23dfb33 (patch)
tree0b8b0245c20bc1e00e90dda7dc832f5d057c6f17
parent6e05a8291b945de36e82c43e37e12b1963fff1b9 (diff)
downloadcoreutils-2b22830114976b1a9404af32bede4bc4b23dfb33.tar.xz
use rm, not $RM
-rwxr-xr-xtests/rm/r-38
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/rm/r-3 b/tests/rm/r-3
index baba42d83..58296106d 100755
--- a/tests/rm/r-3
+++ b/tests/rm/r-3
@@ -3,12 +3,10 @@
# An early version of my rewritten rm failed to remove all of
# the files on SunOS4 when there were 254 or more in a directory.
-: ${RM=rm}
-
: ${TMPDIR=.}
if test "$VERBOSE" = yes; then
- $RM --version
+ rm --version
set -x
fi
@@ -22,7 +20,7 @@ n=300
i=$a
echo "creating $n files in $tmp..."
while :; do
- > $tmp/$i || framework_fail=1
+ touch $tmp/$i || framework_fail=1
test $i = $n && break
i=`expr $i + 1`
done
@@ -36,7 +34,7 @@ if test $framework_fail = 1; then
fi
fail=0
-$RM -rf $tmp || fail=1
+rm -rf $tmp || fail=1
test -d $tmp && fail=1
exit $fail