summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-27 10:14:53 +0000
committerJim Meyering <jim@meyering.net>1999-11-27 10:14:53 +0000
commitf72f631fa0c245ac189482cfb91e7fe10943a932 (patch)
tree41c958f3dfae9e1f74f5b124d36531df6747deaf /tests/mv
parentd10b18f2b9278a231f6b9cfd15669c33d32fc893 (diff)
downloadcoreutils-f72f631fa0c245ac189482cfb91e7fe10943a932.tar.xz
Don't set/use MV, etc.
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/into-self-310
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mv/into-self-3 b/tests/mv/into-self-3
index 1374945f6..5a9285334 100755
--- a/tests/mv/into-self-3
+++ b/tests/mv/into-self-3
@@ -6,14 +6,14 @@
if test "$VERBOSE" = yes; then
set -x
- $MV --version
+ mv --version
fi
dir1=is3-dir1
dir2=is3-dir2
framework_failure=0
-$RM -rf $dir1 $dir2 || framework_failure=1
+rm -rf $dir1 $dir2 || framework_failure=1
mkdir $dir1 $dir2 || framework_failure=1
if test $framework_failure = 1; then
@@ -30,10 +30,10 @@ LANG=C
export LANG
# This mv command should exit nonzero.
-$MV $dir1 $dir2 $dir2 > out 2>&1 && fail=1
+mv $dir1 $dir2 $dir2 > out 2>&1 && fail=1
sed \
- -e "s,$MV:,XXX:,g" \
+ -e "s,mv:,XXX:,g" \
-e "s,$dir2,ZZZ,g" \
out > out2
@@ -43,6 +43,6 @@ EOF
cmp out2 exp || fail=1
-$RM -fr out out2 exp $dir1 $dir2
+rm -fr out out2 exp $dir1 $dir2
exit $fail