From 5eb5fb80f7787bcdb2849b7f3f7ec00a729fadcd Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Thu, 6 Mar 2014 17:02:47 +1100 Subject: [PATCH] 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 --- tests/securityselinuxlabeltest.c | 3 --- tests/securityselinuxtest.c | 3 --- 2 files changed, 6 deletions(-) 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;