1 /* 2 * Authors: Chad Sellers <csellers (at) tresys.com> 3 * Joshua Brindle <jbrindle (at) tresys.com> 4 * Chris PeBenito <cpebenito (at) tresys.com> 5 * 6 * Copyright (C) 2006 Tresys Technology, LLC 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 10 * License as published by the Free Software Foundation; either 11 * version 2.1 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 */ 22 23 #include "test-expander-roles.h" 24 #include "test-common.h" 25 26 #include <sepol/policydb/policydb.h> 27 #include <CUnit/Basic.h> 28 #include <stdlib.h> 29 30 extern policydb_t role_expanded; 31 32 void test_expander_role_mapping(void) 33 { 34 char *types1[] = { "role_check_1_1_t", "role_check_1_2_t" }; 35 36 test_role_type_set(&role_expanded, "role_check_1", NULL, types1, 2, 0); 37 } 38