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:16:15 UTC
svn commit: r684617 - /apr/apr/branches/1.3.x/test/testsock.c
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)