Re: [libvirt] [tck PATCH v2 06/13] scripts: cope with multiple seclabels in live XML

2018-06-01 Thread Laine Stump
On 05/21/2018 12:46 PM, Daniel P. Berrangé wrote: > Libvirt may report two seclabels, one for SELinux and one for DAC. Make > sure we grab the right one from the XML. Also fix the number of tests. > > Signed-off-by: Daniel P. Berrangé Reviewed-by: Laine Stump > --- > scripts/selinux/100-static

[libvirt] [tck PATCH v2 06/13] scripts: cope with multiple seclabels in live XML

2018-05-21 Thread Daniel P . Berrangé
Libvirt may report two seclabels, one for SELinux and one for DAC. Make sure we grab the right one from the XML. Also fix the number of tests. Signed-off-by: Daniel P. Berrangé --- scripts/selinux/100-static-relabel-no.t | 4 ++-- scripts/selinux/110-static-relabel-yes.t | 6 +++--- 2 files cha