mirror of
https://github.com/topjohnwu/selinux.git
synced 2025-01-26 13:26:53 +00:00
reactivate attribute mapping unit test
This test must have been disabled a very long time ago, before attributes were present in the kernel policy. Since the attributes are now present this unit test should be turned back on, unless I'm missing something pretty major (it looks reasonable and is successful when run). Signed-off-by: Joshua Brindle <jbrindle@tresys.com>
This commit is contained in:
parent
4bbaeeb7bb
commit
d57ea2c2c0
@ -196,14 +196,12 @@ int expander_add_tests(CU_pSuite suite)
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
}
|
||||
#if 0
|
||||
/* this is a very useful test and in fact has caught some bugs but cannot be used
|
||||
* currently because of the way the expander removes attributes, please FIXME :) */
|
||||
|
||||
if (NULL == CU_add_test(suite, "expander_attr_mapping", test_expander_attr_mapping)) {
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (NULL == CU_add_test(suite, "expander_role_mapping", test_expander_role_mapping)) {
|
||||
CU_cleanup_registry();
|
||||
return CU_get_error();
|
||||
|
Loading…
x
Reference in New Issue
Block a user