apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r684617 - /apr/apr/branches/1.3.x/test/testsock.c
Date Mon, 11 Aug 2008 00:16:15 GMT
Author: bojan
Date: Sun Aug 10 17:16:15 2008
New Revision: 684617

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

Modified:
    apr/apr/branches/1.3.x/test/testsock.c

Modified: apr/apr/branches/1.3.x/test/testsock.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/test/testsock.c?rev=684617&r1=684616&r2=684617&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/test/testsock.c (original)
+++ apr/apr/branches/1.3.x/test/testsock.c Sun Aug 10 17:16:15 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)



Mime
View raw message