selinux/libsepol/tests
Nicolas Iooss 3666bd9a99 libsepol: tests: fix g_b_role_2 test
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>
2016-09-06 10:49:56 -04:00
..
policies Update .gitignore files 2016-05-09 08:14:54 -04:00
.gitignore Update .gitignore files 2016-05-09 08:14:54 -04:00
Makefile initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
debug.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
helpers.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
helpers.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
libsepol-tests.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-common.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-common.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-cond.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-cond.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-deps.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-deps.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-downgrade.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-downgrade.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-attr-map.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-attr-map.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-roles.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-roles.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-users.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander-users.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-expander.c reactivate attribute mapping unit test 2010-03-24 13:55:23 -04:00
test-expander.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-cond-map.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-cond-map.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-roles.c libsepol: tests: fix g_b_role_2 test 2016-09-06 10:49:56 -04:00
test-linker-roles.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-types.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker-types.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker.c initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
test-linker.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00