]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: mv/acl: Don't mention "yes" as a partition name in diagnostic.
authorJim Meyering <meyering@redhat.com>
Thu, 29 Nov 2007 08:05:17 +0000 (09:05 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 9 Feb 2008 09:30:33 +0000 (10:30 +0100)
tests/mv/acl

index 0fd1fb3e8b7a1b1e25bf7773ae58bb2bc4d67b1d..894397a9382dec1e1585985f3d422fb850efc657 100755 (executable)
@@ -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