asterisk/tests
Mark Michelson 49e2cd4291 Add unit test for testing ACL functionality.
There are two unit tests contained here.

1. "Invalid ACL" This attempts to read a bunch of badly formatted ACL entries
and add them to a host access rule. The goal of this test is to be sure that
all invalid entries are rejected as they should be.

2. "ACL" This sets up four ACLs. One is a permit all, one is a deny all, and
the other two have specific rules about which subnets are allowed and which
are not. Then a set of test addresses is used to determine whether we would
allow those addresses to access us when each ACL is applied. This test, by the
way, was what resulted in AST-2010-003's creation.

Review: https://reviewboard.asterisk.org/r/532



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-25 17:52:20 +00:00
..
Makefile Change the name of the category 'TEST' to match the name of the subdir 2010-03-23 19:19:52 +00:00
test_acl.c Add unit test for testing ACL functionality. 2010-03-25 17:52:20 +00:00
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_amihooks.c ami_testhooks.c automatically registers hook 2009-11-06 22:07:22 +00:00
test_app.c Add support for GROUP_MATCH_COUNT regex matching on category 2010-02-17 19:51:53 +00:00
test_ast_format_str_reduce.c Various updates to the unit test API. 2010-02-09 23:32:14 +00:00
test_astobj2.c astobj2 unit test and bug fix 2010-02-11 18:42:25 +00:00
test_devicestate.c Tweak copyright and author lines. 2010-02-22 06:43:02 +00:00
test_dlinklists.c Introducing doubly linked lists to trunk from branch team/murf/bug11210. 2008-04-16 17:14:18 +00:00
test_event.c fixes some test description formatting inconsistencies so log file looks nice 2010-02-11 21:57:37 +00:00
test_gosub.c Switch to using intptr_t, as suggested by Kevin Fleming on the -dev list 2010-03-17 14:16:54 +00:00
test_heap.c fixes some test description formatting inconsistencies so log file looks nice 2010-02-11 21:57:37 +00:00
test_logger.c Add ability for modules to dynamically register logger levels 2009-05-15 13:13:47 +00:00
test_pbx.c Add unit test for dialplan pattern matching. 2010-02-16 18:29:42 +00:00
test_sched.c Various updates to the unit test API. 2010-02-09 23:32:14 +00:00
test_security_events.c Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_skel.c Various updates to the unit test API. 2010-02-09 23:32:14 +00:00
test_stringfields.c Fix tests on 32-bit systems. 2010-03-11 20:29:19 +00:00
test_strings.c Add ASTERISK_FILE_VERSION macro. 2010-02-24 06:38:10 +00:00
test_substitution.c It's amazing what writing a test will find. 2010-03-10 20:30:34 +00:00
test_time.c Re-enable test_time on non-Linux. 2010-03-16 19:36:55 +00:00
test_utils.c base64 unit test 2010-03-02 23:38:29 +00:00