summaryrefslogtreecommitdiff
path: root/tests/mv
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-01-22 19:26:16 +0000
committerPádraig Brady <P@draigBrady.com>2010-01-23 22:53:52 +0000
commit014fead953b630560f308fe577cf5488f4c95bc0 (patch)
tree212e8e0805895eaf652c82ee90f4ce51b10cf100 /tests/mv
parente489fd04d66000829f5458843970794eccacced8 (diff)
downloadcoreutils-014fead953b630560f308fe577cf5488f4c95bc0.tar.xz
maint: ensure test independence from config macro format
* tests/cp/acl: Support USE_ACL not being defined. * tests/mv/acl: Likewise. Also fix typo in skip message. * tests/cp/preserve-slink-time: Support HAVE_UTIMENSAT being 0. * tests/touch/no-dereference: Likewise. * tests/ls/capability: Normalize so 1 is not required to be last char.
Diffstat (limited to 'tests/mv')
-rwxr-xr-xtests/mv/acl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/acl b/tests/mv/acl
index f581992e2..16d7692f5 100755
--- a/tests/mv/acl
+++ b/tests/mv/acl
@@ -28,7 +28,7 @@ fi
require_acl_
# Skip this test if cp was built without ACL support:
-grep '^#define USE_ACL 0' $CONFIG_HEADER > /dev/null &&
+grep '^#define USE_ACL 1' $CONFIG_HEADER > /dev/null ||
skip_test_ "insufficient ACL support"
cleanup_() { rm -rf "$other_partition_tmpdir"; }
@@ -46,7 +46,7 @@ setfacl -m user:bin:rw $t1 || skip_partition=$other_partition_tmpdir
acl1=`getfacl file` || skip_partition=.
test $skip_partition != none &&
- skip_test_ "'$skip' is not on a suitable file system for this test"
+ skip_test_ "'$skip_partition' is not on a suitable file system for this test"
# move the access acl of a file
mv file "$other_partition_tmpdir" || fail=1