diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-14 16:22:41 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-06-17 09:17:37 +0200 |
commit | 2e580ca741b83202e6b22e0bb58b18101a443bd8 (patch) | |
tree | 790f68faa9a1d05898f71be8bdeee1b574ec2bb2 /tests/cp/capability | |
parent | 13672ec3211a5a77caf16dc24b83100d57e2a2ec (diff) | |
download | coreutils-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/cp/capability')
-rwxr-xr-x | tests/cp/capability | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/cp/capability b/tests/cp/capability index 0106b8b9e..be5fb082a 100755 --- a/tests/cp/capability +++ b/tests/cp/capability @@ -23,21 +23,21 @@ working_umask_or_skip_ 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" (getcap --help) 2>&1 |grep 'usage: getcap' > /dev/null \ - || skip_test_ "getcap utility not found" + || skip_ "getcap utility not found" touch file || framework_failure chown $NON_ROOT_USERNAME file || framework_failure setcap 'cap_net_bind_service=ep' file || - skip_test_ "setcap doesn't work" + skip_ "setcap doesn't work" getcap file | grep cap_net_bind_service >/dev/null || - skip_test_ "getcap doesn't work" + skip_ "getcap doesn't work" cp --preserve=xattr file copy1 || fail=1 |