From: Michael Chapman Date: Thu, 6 Mar 2014 06:02:47 +0000 (+1100) Subject: tests: SELinux tests do not need to be skipped X-Git-Tag: v1.2.3-rc1~336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb5fb80f7787bcdb2849b7f3f7ec00a729fadcd;p=thirdparty%2Flibvirt.git 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 --- diff --git a/tests/securityselinuxlabeltest.c b/tests/securityselinuxlabeltest.c index f98033de55..3505f8c832 100644 --- a/tests/securityselinuxlabeltest.c +++ b/tests/securityselinuxlabeltest.c @@ -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; diff --git a/tests/securityselinuxtest.c b/tests/securityselinuxtest.c index 99b9b24807..feb53665fa 100644 --- a/tests/securityselinuxtest.c +++ b/tests/securityselinuxtest.c @@ -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;