diff options
Diffstat (limited to 'tests/cp/capability')
-rwxr-xr-x | tests/cp/capability | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/capability b/tests/cp/capability index be5fb082a..a0fb60849 100755 --- a/tests/cp/capability +++ b/tests/cp/capability @@ -31,8 +31,8 @@ grep '^#define HAVE_CAP 1' $CONFIG_HEADER > /dev/null \ || skip_ "getcap utility not found" -touch file || framework_failure -chown $NON_ROOT_USERNAME file || framework_failure +touch file || framework_failure_ +chown $NON_ROOT_USERNAME file || framework_failure_ setcap 'cap_net_bind_service=ep' file || skip_ "setcap doesn't work" |