From 800a5dfd4e7e7e26ed48231c8d7413e19d8858d2 Mon Sep 17 00:00:00 2001 From: twilson Date: Thu, 23 Jun 2011 03:16:44 +0000 Subject: Merged revisions 324557 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r324557 | twilson | 2011-06-22 22:10:38 -0500 (Wed, 22 Jun 2011) | 5 lines 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. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@324558 f38db490-d61c-443f-a65b-d21fe96a405b --- tests/test_netsock2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/test_netsock2.c b/tests/test_netsock2.c index bdc92fbed..3bbf25770 100644 --- a/tests/test_netsock2.c +++ b/tests/test_netsock2.c @@ -54,7 +54,6 @@ AST_TEST_DEFINE(parsing) { "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 @@ AST_TEST_DEFINE(parsing) { "[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 */ }; -- cgit v1.2.3