summaryrefslogtreecommitdiff
path: root/tests/ls/capability
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-06-14 16:22:41 +0200
committerJim Meyering <meyering@redhat.com>2011-06-17 09:17:37 +0200
commit2e580ca741b83202e6b22e0bb58b18101a443bd8 (patch)
tree790f68faa9a1d05898f71be8bdeee1b574ec2bb2 /tests/ls/capability
parent13672ec3211a5a77caf16dc24b83100d57e2a2ec (diff)
downloadcoreutils-2e580ca741b83202e6b22e0bb58b18101a443bd8.tar.xz
tests: remove skip_test_ function; use new skip_ instead
* tests/init.cfg (skip_test_): Remove function. Use skip_ in place of skip_test_ everywhere else. * cfg.mk (sc_prohibit_skip_): Remove rule. * tests/**: Use skip_, not skip_test_, everywhere.
Diffstat (limited to 'tests/ls/capability')
-rwxr-xr-xtests/ls/capability6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ls/capability b/tests/ls/capability
index 9cc8ba26d..c4762c963 100755
--- a/tests/ls/capability
+++ b/tests/ls/capability
@@ -21,10 +21,10 @@ print_ver_ ls
require_root_
grep '^#define HAVE_CAP 1' $CONFIG_HEADER > /dev/null \
- || skip_test_ "configured without libcap support"
+ || skip_ "configured without libcap support"
(setcap --help) 2>&1 |grep 'usage: setcap' > /dev/null \
- || skip_test_ "setcap utility not found"
+ || skip_ "setcap utility not found"
# Don't let a different umask perturb the results.
umask 22
@@ -38,7 +38,7 @@ cd test
touch cap_pos dir/cap_pos dir/cap_neg
for file in cap_pos dir/cap_neg; do
setcap 'cap_net_bind_service=ep' $file ||
- skip_test_ "setcap doesn't work"
+ skip_ "setcap doesn't work"
done
code='30;41'