From 667d03f95abda64795c2064630cef48f843062f7 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 17 Jun 2009 12:38:58 +0000 Subject: More ticket #878: - pj_sockaddr_parse() is unable to parse "localhost" on Symbian, so disable the test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2770 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/src/pjlib-test/sock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pjlib/src') diff --git a/pjlib/src/pjlib-test/sock.c b/pjlib/src/pjlib-test/sock.c index f81c7e02..b25d574f 100644 --- a/pjlib/src/pjlib-test/sock.c +++ b/pjlib/src/pjlib-test/sock.c @@ -191,9 +191,11 @@ static int parse_test(void) { "10.0.0.1:0", IPv4, "10.0.0.1", 0}, { ":80", IPv4, "0.0.0.0", 80}, { ":", IPv4, "0.0.0.0", 0}, +#if !PJ_SYMBIAN { "localhost", IPv4, "127.0.0.1", 0}, { "localhost:", IPv4, "127.0.0.1", 0}, { "localhost:80", IPv4, "127.0.0.1", 80}, +#endif #if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 { "fe::01:80", IPv6, "fe::01:80", 0}, @@ -254,8 +256,8 @@ static int parse_test(void) pj_cstr(&input, valid_tests[i].input), &addr); if (status != PJ_SUCCESS) { - PJ_LOG(1,("test", ".... failed when parsing %s", - valid_tests[i].input)); + PJ_LOG(1,("test", ".... failed when parsing %s (i=%d)", + valid_tests[i].input, i)); return -10; } -- cgit v1.2.3