summaryrefslogtreecommitdiff
path: root/tests/mv/mv-special-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-02-21 16:14:05 +0000
committerJim Meyering <jim@meyering.net>1998-02-21 16:14:05 +0000
commita03a97d7d890b31b71cdc0551d5ee4e66b89ed7d (patch)
treec76960c3bff40d909b623c7264fea687919650b5 /tests/mv/mv-special-1
parentead1152ef8018c2599552cdca26eda7b1635b1b4 (diff)
downloadcoreutils-a03a97d7d890b31b71cdc0551d5ee4e66b89ed7d.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/mv/mv-special-1')
-rwxr-xr-xtests/mv/mv-special-111
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1
index 410034d80..9beaf0659 100755
--- a/tests/mv/mv-special-1
+++ b/tests/mv/mv-special-1
@@ -1,9 +1,10 @@
#! /bin/sh
+: ${LS=ls}
: ${MV=mv}
-: ${RM=rm}
-: ${MKNOD=mknod}
: ${MKDIR=mkdir}
+: ${MKNOD=mknod}
+: ${RM=rm}
: ${TOUCH=touch}
. $srcdir/setup
@@ -29,6 +30,12 @@ fi
fail=0
$MV $null $dir $other_partition_tmpdir || fail=1
+# Make sure the files are gone.
+test -f $null && fail=1
+test -d $dir && fail=1
+
+# cd $other_partition_tmpdir
+# $LS -l -A -R $other_partition_tmpdir
$RM -rf $null $dir $other_partition_tmpdir