2 # Make sure permissions are preserved when moving from one partition to another.
4 if test "$VERBOSE" = yes; then
10 . $srcdir/../envvar-check
11 . $srcdir/../lang-default
13 if test -z "$other_partition_tmpdir"; then
19 trap "cd $pwd; rm -rf $dir $other_partition_tmpdir" 0 1 2 3 15
28 mv file $other_partition_tmpdir
31 test -f file && fail=1
32 test -f $other_partition_tmpdir/file || fail=1
34 # This would have failed with the mv from fileutils-4.0i.
35 set _ `ls -l $other_partition_tmpdir/file`; shift; mode=$1
36 test "$mode" = "-rwxrwxrwx" || fail=1