diff options
Diffstat (limited to 'tests/misc/selinux')
-rwxr-xr-x | tests/misc/selinux | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/misc/selinux b/tests/misc/selinux index 542d6e799..87d1a8dde 100755 --- a/tests/misc/selinux +++ b/tests/misc/selinux @@ -25,10 +25,8 @@ fail=0 ctx=root:object_r:tmp_t # FIXME, what if $ctx is no different from the default. Not likely. # give each a different context, via chcon -chcon $ctx f d p 2>/dev/null || { - echo 1>&2 'skipping this test: "chcon '$ctx' ..." failed' - (exit 77); exit 77 -} +chcon $ctx f d p 2>/dev/null || + skip_test_ '"chcon '$ctx' ..." failed' # inspect that context with both ls -Z and stat. for i in d f p; do |