summaryrefslogtreecommitdiff
path: root/tests/mv/acl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-29 09:05:17 +0100
committerJim Meyering <meyering@redhat.com>2008-02-09 10:30:33 +0100
commit1bfffd6a2dc1b62440429e3c7bd46564fbc1c1f9 (patch)
tree0ca62e4438fb3b5bdbe82136ce571c8fb323dda5 /tests/mv/acl
parent16c005fe6ad5e41b58911c2aef0831a60f197c06 (diff)
downloadcoreutils-1bfffd6a2dc1b62440429e3c7bd46564fbc1c1f9.tar.xz
tests: mv/acl: Don't mention "yes" as a partition name in diagnostic.
Diffstat (limited to 'tests/mv/acl')
-rwxr-xr-xtests/mv/acl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mv/acl b/tests/mv/acl
index 0fd1fb3e8..894397a93 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