You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/08/11 02:15:24 UTC

svn commit: r684616 - /apr/apr/trunk/test/testsock.c

Author: bojan
Date: Sun Aug 10 17:15:24 2008
New Revision: 684616

URL: http://svn.apache.org/viewvc?rev=684616&view=rev
Log:
Test for telnet service instead of http (Solaris 8 doesn't have http).

Modified:
    apr/apr/trunk/test/testsock.c

Modified: apr/apr/trunk/test/testsock.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testsock.c?rev=684616&r1=684615&r2=684616&view=diff
==============================================================================
--- apr/apr/trunk/test/testsock.c (original)
+++ apr/apr/trunk/test/testsock.c Sun Aug 10 17:15:24 2008
@@ -88,9 +88,9 @@
     rv = apr_getservbyname(sa, "complete_and_utter_rubbish");
     APR_ASSERT_SUCCESS(tc, "Problem getting non-existent service", !rv);
 
-    rv = apr_getservbyname(sa, "http");
-    APR_ASSERT_SUCCESS(tc, "Problem getting http service", rv);
-    ABTS_INT_EQUAL(tc, 80, sa->port);
+    rv = apr_getservbyname(sa, "telnet");
+    APR_ASSERT_SUCCESS(tc, "Problem getting telnet service", rv);
+    ABTS_INT_EQUAL(tc, 23, sa->port);
 }
 
 static apr_socket_t *setup_socket(abts_case *tc)