diff options
-rwxr-xr-x | tests/mv/mv-special-1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mv/mv-special-1 b/tests/mv/mv-special-1 index bf11f9bd9..0a86a1d81 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 |