mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tests: SELinux tests do not need to be skipped
With the previous commit's securityselinuxhelper enhancements, the SELinux security manager can be tested even without SELinux enabled on the test system. Signed-off-by: Michael Chapman <mike@very.puzzling.org>
This commit is contained in:
parent
4d4f977ab5
commit
5eb5fb80f7
@ -322,9 +322,6 @@ mymain(void)
|
||||
|
||||
if (!(mgr = virSecurityManagerNew("selinux", "QEMU", false, true, false))) {
|
||||
virErrorPtr err = virGetLastError();
|
||||
if (err->code == VIR_ERR_CONFIG_UNSUPPORTED)
|
||||
return EXIT_AM_SKIP;
|
||||
|
||||
fprintf(stderr, "Unable to initialize security driver: %s\n",
|
||||
err->message);
|
||||
return EXIT_FAILURE;
|
||||
|
@ -272,9 +272,6 @@ mymain(void)
|
||||
|
||||
if (!(mgr = virSecurityManagerNew("selinux", "QEMU", false, true, false))) {
|
||||
virErrorPtr err = virGetLastError();
|
||||
if (err->code == VIR_ERR_CONFIG_UNSUPPORTED)
|
||||
return EXIT_AM_SKIP;
|
||||
|
||||
fprintf(stderr, "Unable to initialize security driver: %s\n",
|
||||
err->message);
|
||||
return EXIT_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user