From: Jim Meyering Date: Mon, 11 May 1998 03:26:40 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-3_16o~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d816bb4f14b3186451105f1afd311e1938d1d74e;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1 index bf11f9bd94..0a86a1d81c 100755 --- a/tests/mv/mv-special-1 +++ b/tests/mv/mv-special-1 @@ -33,6 +33,10 @@ $MV $null $dir $other_partition_tmpdir || fail=1 # Make sure the files are gone. test -f $null && fail=1 test -d $dir && fail=1 +# Make sure they were moved. +# Since `test -e' is not portable, use `ls'. +$LS $other_partition_tmpdir/$null > /dev/null || fail=1 +test -d $other_partition_tmpdir/$dir/a/b/c || fail=1 # cd $other_partition_tmpdir # $LS -l -A -R $other_partition_tmpdir