2 # Force mv to use the copying code.
4 if test "$VERBOSE" = yes; then
11 if test -z "$other_partition_tmpdir"; then
15 a
="$other_partition_tmpdir/a"
16 a2
="$other_partition_tmpdir/a~"
19 rm -f $a $a2 || framework_failure
=1
20 echo a
> $a || framework_failure
=1
21 echo a2
> $a2 || framework_failure
=1
23 if test $framework_failure = 1; then
24 echo 'failure in testing framework'
28 # Make sure we get English translations.
36 # This mv command should exit nonzero.
37 mv --b=simple
$a2 $a > out
2>&1 && fail
=1
46 XXX
: backing up
`YYY' would destroy source; `ZZZ
' not moved
49 cmp out2 exp || fail=1
51 rm -fr out out2 exp $a $a2 $other_partition_tmpdir