diff options
Diffstat (limited to 'tests/misc/selinux.sh')
-rwxr-xr-x | tests/misc/selinux.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/selinux.sh b/tests/misc/selinux.sh index a9515680a..28c05c4f8 100755 --- a/tests/misc/selinux.sh +++ b/tests/misc/selinux.sh @@ -30,7 +30,8 @@ mkfifo_or_skip_ p # special context that works both with and without mcstransd -ctx=root:object_r:tmp_t:s0 +ctx='root:object_r:tmp_t' +mls_enabled_ && ctx="$ctx:s0" chcon $ctx f d p || skip_ '"chcon '$ctx' ..." failed' |