mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-27 15:00:39 +00:00
Even though g_b_role_2 is used both in tests/policies/test-linker/small-base.conf and tests/policies/test-linker/module1.conf, it seems to only exists in the scope of the base policy. This fixes the following failure of "make -C libsepol test": ./libsepol-tests CUnit - A unit testing framework for C - Version 2.1-3 http://cunit.sourceforge.net/ Suite: cond Test: cond_expr_equal ...passed Suite: linker Test: linker_indexes ...passed Test: linker_types ...passed Test: linker_roles ...sym g_b_role_2 has 1 decls, 2 expected FAILED 1. test-common.c:43 - scope->decl_ids_len == len 2. test-common.c:52 - found == 1 Test: linker_cond ...passed Suite: expander Test: expander_indexes ...passed Test: expander_attr_mapping ...passed Test: expander_role_mapping ...passed Test: expander_user_mapping ...passed Test: expander_alias ...passed Suite: deps Test: deps_modreq_global ...passed Test: deps_modreq_opt ...passed Suite: downgrade Test: downgrade ...passed Run Summary: Type Total Ran Passed Failed Inactive suites 5 5 n/a 0 0 tests 13 13 12 1 0 asserts 1274 1274 1272 2 n/a Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
policies | ||
.gitignore | ||
debug.c | ||
debug.h | ||
helpers.c | ||
helpers.h | ||
libsepol-tests.c | ||
Makefile | ||
test-common.c | ||
test-common.h | ||
test-cond.c | ||
test-cond.h | ||
test-deps.c | ||
test-deps.h | ||
test-downgrade.c | ||
test-downgrade.h | ||
test-expander-attr-map.c | ||
test-expander-attr-map.h | ||
test-expander-roles.c | ||
test-expander-roles.h | ||
test-expander-users.c | ||
test-expander-users.h | ||
test-expander.c | ||
test-expander.h | ||
test-linker-cond-map.c | ||
test-linker-cond-map.h | ||
test-linker-roles.c | ||
test-linker-roles.h | ||
test-linker-types.c | ||
test-linker-types.h | ||
test-linker.c | ||
test-linker.h |