2 # Force mv to use the copying code.
4 if test "$VERBOSE" = yes; then
10 . $srcdir/../envvar-check
12 if test -z "$other_partition_tmpdir"; then
16 a="$other_partition_tmpdir/a"
17 a2="$other_partition_tmpdir/a~"
20 rm -f $a $a2 || framework_failure=1
21 echo a > $a || framework_failure=1
22 echo a2 > $a2 || framework_failure=1
24 if test $framework_failure = 1; then
25 echo 'failure in testing framework'
29 # Make sure we get English translations.
30 . $srcdir/../lang-default
32 # This mv command should exit nonzero.
33 mv --b=simple $a2 $a > out 2>&1 && fail=1
42 XXX: backing up `YYY' would destroy source; `ZZZ' not moved
45 cmp out2 exp || fail=1
47 rm -fr out out2 exp $a $a2 $other_partition_tmpdir