2 # move a directory into itself, with a twist
4 if test "$VERBOSE" = yes; then
13 rm -rf $dir1 $dir2 || framework_failure
=1
14 mkdir
$dir1 $dir2 || framework_failure
=1
16 if test $framework_failure = 1; then
17 echo 'failure in testing framework'
21 # Make sure we get English translations.
22 .
$srcdir/..
/lang-default
24 # This mv command should exit nonzero.
25 mv $dir1 $dir2 $dir2 > out
2>&1 && fail
=1
33 XXX
: cannot move
`ZZZ' to a subdirectory of itself, `ZZZ
/ZZZ
'
36 cmp out2 exp || fail=1
38 rm -fr out out2 exp $dir1 $dir2