From 014fead953b630560f308fe577cf5488f4c95bc0 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Fri, 22 Jan 2010 19:26:16 +0000 Subject: 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. --- tests/ls/capability | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ls') diff --git a/tests/ls/capability b/tests/ls/capability index e5844c28c..df91aa5d2 100755 --- a/tests/ls/capability +++ b/tests/ls/capability @@ -24,7 +24,7 @@ fi . $srcdir/test-lib.sh require_root_ -grep '^#define HAVE_CAP 1$' $CONFIG_HEADER > /dev/null \ +grep '^#define HAVE_CAP 1' $CONFIG_HEADER > /dev/null \ || skip_test_ "configured without libcap support" (setcap --help) 2>&1 |grep 'usage: setcap' > /dev/null \ -- cgit v1.2.3-70-g09d2