summaryrefslogtreecommitdiff
path: root/tests/mv/into-self
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-27 10:14:04 +0000
committerJim Meyering <jim@meyering.net>1999-11-27 10:14:04 +0000
commit511cd5b6ae3edb4c85a31f90775ff9bdd35bd539 (patch)
treeb7cfd2afe7123a128fb4034c2f0cfc79dd5b89bf /tests/mv/into-self
parent09282a24f65c1dfd91ba35a0ac345ade36d8a391 (diff)
downloadcoreutils-511cd5b6ae3edb4c85a31f90775ff9bdd35bd539.tar.gz
coreutils-511cd5b6ae3edb4c85a31f90775ff9bdd35bd539.tar.bz2
coreutils-511cd5b6ae3edb4c85a31f90775ff9bdd35bd539.zip
Don't set/use MV, etc.
Diffstat (limited to 'tests/mv/into-self')
-rwxr-xr-xtests/mv/into-self14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mv/into-self b/tests/mv/into-self
index 02d1a7fce..aee5f0f12 100755
--- a/tests/mv/into-self
+++ b/tests/mv/into-self
@@ -8,7 +8,7 @@
if test "$VERBOSE" = yes; then
set -x
- $MV --version
+ mv --version
fi
dir=into-self-dir
@@ -16,9 +16,9 @@ file=into-self-file
test_failure=0
-$RM -rf $dir $file || test_failure=1
-$MKDIR -p $dir/a/b || test_failure=1
-$TOUCH $file || test_failure=1
+rm -rf $dir $file || test_failure=1
+mkdir -p $dir/a/b || test_failure=1
+touch $file || test_failure=1
if test $test_failure = 1; then
echo 'failure in testing framework'
@@ -36,10 +36,10 @@ LANG=C
export LANG
# This mv command should fail.
-$MV $dir $file $dir > out 2>&1 && fail=1
+mv $dir $file $dir > out 2>&1 && fail=1
sed \
- -e "s,$MV:,XXX:," \
+ -e "s,mv:,XXX:," \
-e "s,$dir,SRC," \
-e "s,$dir/$dir,DEST," \
out > out2
@@ -57,6 +57,6 @@ test -d $dir || fail=1
test -d $dir/$dir && fail=1
# Make sure the file has been moved to the right place.
test -f $dir/$file || fail=1
-$RM -rf $dir $file out out2 exp
+rm -rf $dir $file out out2 exp
exit $fail