From: Jim Meyering Date: Thu, 29 Nov 2007 08:05:17 +0000 (+0100) Subject: tests: mv/acl: Don't mention "yes" as a partition name in diagnostic. X-Git-Tag: v6.11~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bfffd6a2dc1b62440429e3c7bd46564fbc1c1f9;p=thirdparty%2Fcoreutils.git tests: mv/acl: Don't mention "yes" as a partition name in diagnostic. --- diff --git a/tests/mv/acl b/tests/mv/acl index 0fd1fb3e8b..894397a938 100755 --- a/tests/mv/acl +++ b/tests/mv/acl @@ -42,14 +42,14 @@ touch file || framework_failure t1=$other_partition_tmpdir/t1 touch $t1 || framework_failure -skip=no +skip_partition=none # Ensure that setfacl and getfacl work on this file system. -setfacl -m user:bin:rw file 2> /dev/null || skip=. +setfacl -m user:bin:rw file 2> /dev/null || skip_partition=. # And on the destination file system. -setfacl -m user:bin:rw $t1 || skip=$other_partition_tmpdir -acl1=`getfacl file` || skip=yes +setfacl -m user:bin:rw $t1 || skip_partition=$other_partition_tmpdir +acl1=`getfacl file` || skip_partition=. -test $skip != no && +test $skip_partition != none && { echo "$0: '$skip' is not on a suitable file system for this test" 1>&2 echo "$0: skipping this test" 1>&2