support fedora in selinux label tests

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
Dominik Richter 2015-09-16 13:40:05 +02:00
parent 50f3103358
commit 432640ee27

View file

@ -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)