Lines Matching refs:urlpath
13 buffer *urlpath = buffer_init(); in test_mod_access_check() local
17 buffer_copy_string_len(urlpath, CONST_STR_LEN("/")); in test_mod_access_check()
18 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
24 buffer_copy_string_len(urlpath, CONST_STR_LEN("/index.html~")); in test_mod_access_check()
25 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
27 buffer_copy_string_len(urlpath, CONST_STR_LEN("/index.INC")); in test_mod_access_check()
28 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
35 buffer_copy_string_len(urlpath, CONST_STR_LEN("/ssi-include.txt")); in test_mod_access_check()
36 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
38 buffer_copy_string_len(urlpath, CONST_STR_LEN("/ssi-include.TXT")); in test_mod_access_check()
39 assert(1 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
43 buffer_copy_string_len(urlpath, CONST_STR_LEN("/cgi.pl")); in test_mod_access_check()
44 assert(0 == mod_access_check(allow, deny, urlpath, lc)); in test_mod_access_check()
48 buffer_free(urlpath); in test_mod_access_check()