]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Remove obsolete secaatest
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 14 Jan 2011 21:37:55 +0000 (22:37 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 15 Jan 2011 22:36:31 +0000 (23:36 +0100)
commited25dcc2c11c674d4e3c08620121101b616c78dc
tree9104b9e8da4d7e260fc8034417d75042f9196219
parent2095dc39af4540d5906bca31332d8e18de2fe2f2
tests: Remove obsolete secaatest

Before the security driver was refactored in d6623003 seclabeltest and
secaatest were basically the same. seclabeltest was meant for SELinux
and secaatest for AppArmor. Both tests exited early when the specific
security driver backend wasn't enabled.

With the new security manager trying to initialize a disabled security
driver backend is an error that can't be distinguished from other errors
anymore. Therefore, the updated seclabeltest just asks for the first
available backend as this will always work even with SELinux and AppArmor
backend being disabled due to the new Nop backend.

Remove the obsolete secaatest and compile and run the seclabeltest
unconditional.

This fixes make check on systems that support AppArmor.
tests/Makefile.am
tests/secaatest.c [deleted file]