mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
support fedora in selinux label tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
50f3103358
commit
432640ee27
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ module Test
|
|||
h['redhat'] = {}
|
||||
h['redhat'].default = 'unconfined_u:object_r:user_tmp_t:s0'
|
||||
h['redhat']['5.11'] = 'user_u:object_r:tmp_t'
|
||||
h['fedora'] = h['redhat']
|
||||
labels.default = dup(h)
|
||||
|
||||
h['redhat'].default = 'unconfined_u:object_r:tmp_t:s0'
|
||||
|
@ -32,6 +33,7 @@ module Test
|
|||
h.default = Hash.new(nil)
|
||||
h['redhat'] = {}
|
||||
h['redhat'].default = 'system_u:object_r:null_device_t:s0'
|
||||
h['fedora'] = h['redhat']
|
||||
h['redhat']['5.11'] = 'system_u:object_r:null_device_t'
|
||||
labels['/dev/null'] = dup(h)
|
||||
|
||||
|
|
Loading…
Reference in a new issue