summaryrefslogtreecommitdiff
path: root/addons/mp3/decode_ntom.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2010-03-25 17:52:20 +0000
committerMark Michelson <mmichelson@digium.com>2010-03-25 17:52:20 +0000
commit49e2cd4291fe8f1024d5f4caa564143f76ee11b7 (patch)
tree6e4ef6c4252d013af68ec3981b0ae441e067c75b /addons/mp3/decode_ntom.c
parenta1e426cd2aa262cb634feb5adcb9112c7006d5bb (diff)
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
Diffstat (limited to 'addons/mp3/decode_ntom.c')
0 files changed, 0 insertions, 0 deletions