From 1bfffd6a2dc1b62440429e3c7bd46564fbc1c1f9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 29 Nov 2007 09:05:17 +0100 Subject: tests: mv/acl: Don't mention "yes" as a partition name in diagnostic. --- tests/mv/acl | 10 +++++----- 1 file 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 -- cgit v1.2.3-70-g09d2