[asterisk-commits] mmichelson: trunk r277872 - /trunk/tests/test_acl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 19 12:10:03 CDT 2010


Author: mmichelson
Date: Mon Jul 19 12:10:00 2010
New Revision: 277872

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=277872
Log:
Remove the fe80:1234::1234 test case from test_acl.c

The ACL test was failing on Mac OS X because it would
convert the above invalid link-local address into
fe80::1234 while reporting no error from getaddrinfo().
Linux does not do this.


Modified:
    trunk/tests/test_acl.c

Modified: trunk/tests/test_acl.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_acl.c?view=diff&rev=277872&r1=277871&r2=277872
==============================================================================
--- trunk/tests/test_acl.c (original)
+++ trunk/tests/test_acl.c Mon Jul 19 12:10:00 2010
@@ -169,7 +169,6 @@
 		{ "10.0.10.10", TACL_A, TACL_D, TACL_A, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A },
 		{ "172.16.0.1", TACL_A, TACL_D, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A, TACL_A },
 		{ "fe80::1234", TACL_A, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A, TACL_A, TACL_A },
-		{ "fe80:1234::1234", TACL_A, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A, TACL_D, TACL_D, },
 		{ "fe80::ffff:1213:dead:beef", TACL_A, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A, TACL_A, TACL_D },
 		{ "fe80::ffff:0:ffff:ABCD", TACL_A, TACL_A, TACL_A, TACL_D, TACL_A, TACL_A, TACL_A, TACL_A },
 	};




More information about the asterisk-commits mailing list