summaryrefslogtreecommitdiff
path: root/tests/test_netsock2.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2011-06-23 03:16:44 +0000
committerTerry Wilson <twilson@digium.com>2011-06-23 03:16:44 +0000
commitd7e2d2248c664fc476539bfd9925da38424fae71 (patch)
tree5784b11a670a25c49122ccdb57e66ea2dfe8466a /tests/test_netsock2.c
parent10480072aa795bc239d06aa9ea15316898427a6b (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@324558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_netsock2.c')
-rw-r--r--tests/test_netsock2.c2
1 files changed, 0 insertions, 2 deletions
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 */
};