2 # Force mv to use the copying code.
3 # Consider the case where SRC and DEST are on a different
4 # partitions and DEST is a symlink to SRC.
10 if test "$VERBOSE" = yes; then
17 if test -z "$other_partition_tmpdir"; then
21 file="$other_partition_tmpdir/file"
25 $RM -f $file $symlink || framework_failure=1
26 echo whatever > $file || framework_failure=1
27 $LN -s $file $symlink || framework_failure=1
29 if test $framework_failure = 1; then
30 echo 'failure in testing framework'
34 # Make sure we get English translations.
42 # This mv command should exit nonzero.
43 $MV $file $symlink > out 2>&1 && fail=1
48 -e "s,$symlink,ZZZ," \
52 XXX: `YYY' and `ZZZ' are the same file
55 cmp out2 exp || fail=1
57 $RM -fr out out2 exp $file $symlink $other_partition_tmpdir