[asterisk-commits] twilson: trunk r324558 - in /trunk: ./ tests/test_netsock2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 22 22:16:47 CDT 2011


Author: twilson
Date: Wed Jun 22 22:16:44 2011
New Revision: 324558

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324558
Log:
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.
........

Modified:
    trunk/   (props changed)
    trunk/tests/test_netsock2.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/tests/test_netsock2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_netsock2.c?view=diff&rev=324558&r1=324557&r2=324558
==============================================================================
--- trunk/tests/test_netsock2.c (original)
+++ trunk/tests/test_netsock2.c Wed Jun 22 22:16:44 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