[asterisk-commits] twilson: branch 1.8 r324557 - /branches/1.8/tests/test_netsock2.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 22 22:10:41 CDT 2011
Author: twilson
Date: Wed Jun 22 22:10:38 2011
New Revision: 324557
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324557
Log:
Remove tests for parsing address with invalid port
getaddrinfo on OS X returns with EAI_NONAME error when passed a port
greater than 65535. Linux throws no error, so remove the tests for now.
Modified:
branches/1.8/tests/test_netsock2.c
Modified: branches/1.8/tests/test_netsock2.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/tests/test_netsock2.c?view=diff&rev=324557&r1=324556&r2=324557
==============================================================================
--- branches/1.8/tests/test_netsock2.c (original)
+++ branches/1.8/tests/test_netsock2.c Wed Jun 22 22:10:38 2011
@@ -54,7 +54,6 @@
{ "1.256.3.4", 0 },
{ "256.0.0.1", 0 },
{ "1.2.3.4:5060", 1 },
- { "1.2.3.4:99999", 0},
{ "::ffff:5.6.7.8", 1 },
{ "fdf8:f53b:82e4::53", 1 },
{ "fe80::200:5aee:feaa:20a2", 1 },
@@ -70,7 +69,6 @@
{ "[2001::1]", 1 },
{ "[2001:0000:4136:e378:8000:63bf:3fff:fdd2]:5060", 1 },
{ "2001:0000:4136:e378:8000:63bf:3fff:fdd2:5060", 0 }, /* port, but no brackets */
- { "[2001:0000:4136:e378:8000:63bf:3fff:fdd2]:90000", 0 },
{ "[fe80::200:5aee:feaa:20a2%eth0]", 1 }, /* link-local with scope id */
{ "[fe80::200::abcd", 0 }, /* multiple zero expansions */
};
More information about the asterisk-commits
mailing list