summaryrefslogtreecommitdiff
path: root/tests/ls/capability
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/ls/capability
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/ls/capability')
-rwxr-xr-xtests/ls/capability2
1 files changed, 1 insertions, 1 deletions
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 \