Lines Matching refs:deny
12 array *deny = array_init(0); in test_mod_access_check() local
18 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
20 array_insert_value(deny, CONST_STR_LEN("~")); in test_mod_access_check()
21 array_insert_value(deny, CONST_STR_LEN(".inc")); in test_mod_access_check()
25 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
28 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
32 array_insert_value(deny, CONST_STR_LEN(".txt"));/* allow takes precedence */ in test_mod_access_check()
36 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
39 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
44 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
47 array_free(deny); in test_mod_access_check()