summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2014-08-20 06:15:23 +0000
committerBenny Prijono <bennylp@teluu.com>2014-08-20 06:15:23 +0000
commit993e384280546d821a97e6c7c2de6f5937634c7e (patch)
tree395abd586fa7970ad9df6c7276a74ee18d9df9f3
parente93dca3c0a1f97624d828b8da54fb4a963e1e80e (diff)
Misc re #1751: disable one pjlib-test entry on socket address parsing
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4894 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjlib/src/pjlib-test/sock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/src/pjlib-test/sock.c b/pjlib/src/pjlib-test/sock.c
index 35669dc0..d1f8737a 100644
--- a/pjlib/src/pjlib-test/sock.c
+++ b/pjlib/src/pjlib-test/sock.c
@@ -252,7 +252,9 @@ static int parse_test(void)
{ "10.0.0.1:abcd", IPv4}, /* port not numeric */
{ "10.0.0.1:-1", IPv4}, /* port contains illegal character */
{ "10.0.0.1:123456", IPv4}, /* port too big */
- { "1.2.3.4.5:80", IPv4}, /* invalid IP */
+ //this actually is fine on my Mac OS 10.9
+ //it will be resolved with gethostbyname() and something is returned!
+ //{ "1.2.3.4.5:80", IPv4}, /* invalid IP */
{ "10:0:80", IPv4}, /* hostname has colon */
#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6