Searched refs:test_load_policy (Results 1 – 5 of 5) sorted by relevance
/external/libsepol/tests/ |
D | test-linker.c | 63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init() 66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) in linker_test_init() 77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i])) in linker_test_init()
|
D | test-deps.c | 98 if (test_load_policy(&bases_met[i], POLICY_BASE, mls, "test-deps", "base-metreq.conf")) in deps_test_init() 103 if (test_load_policy(&bases_notmet[i], POLICY_BASE, mls, "test-deps", "base-notmetreq.conf")) in deps_test_init() 162 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_global() 242 CU_ASSERT_FATAL(test_load_policy(&mod, POLICY_MOD, mls, "test-deps", policy) == 0); in do_deps_modreq_opt()
|
D | helpers.h | 48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const …
|
D | helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *p… in test_load_policy() function
|
D | test-cond.c | 41 if (test_load_policy(&basemod, POLICY_BASE, 1, "test-cond", "refpolicy-base.conf")) in cond_test_init()
|