From: Jim Meyering Date: Sat, 21 Feb 1998 11:54:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-3_16m~14 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2326be84d51bc7222999daf6673ecc019de1f1ea;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1 index ca8525dcd8..410034d80a 100755 --- a/tests/mv/mv-special-1 +++ b/tests/mv/mv-special-1 @@ -3,6 +3,8 @@ : ${MV=mv} : ${RM=rm} : ${MKNOD=mknod} +: ${MKDIR=mkdir} +: ${TOUCH=touch} . $srcdir/setup @@ -11,19 +13,23 @@ if test -z $other_partition_tmpdir; then fi null=.mv-null +dir=.mv-dir test_failure=0 $RM -f $null || test_failure=1 $MKNOD $null p || test_failure=1 +$MKDIR -p $dir/a/b/c $dir/d/e/f || test_failure=1 +$TOUCH $dir/a/b/c/file1 $dir/d/e/f/file2 || test_failure=1 + if test $test_failure = 1; then echo 'failure in testing framework' exit 1 fi fail=0 -$MV $null $other_partition_tmpdir || fail=1 +$MV $null $dir $other_partition_tmpdir || fail=1 -$RM -rf $null $other_partition_tmpdir +$RM -rf $null $dir $other_partition_tmpdir exit $fail