apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r481198 - /apr/apr/trunk/test/testsockets.c
Date Fri, 01 Dec 2006 09:28:15 GMT
Author: jorton
Date: Fri Dec  1 01:28:13 2006
New Revision: 481198

URL: http://svn.apache.org/viewvc?view=rev&rev=481198
Log:
* test/testsockets.c (sendto_receivefrom): Give useful error
messages on bind() failure.

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

Modified: apr/apr/trunk/test/testsockets.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/testsockets.c?view=diff&rev=481198&r1=481197&r2=481198
==============================================================================
--- apr/apr/trunk/test/testsockets.c (original)
+++ apr/apr/trunk/test/testsockets.c Fri Dec  1 01:28:13 2006
@@ -145,12 +145,12 @@
     APR_ASSERT_SUCCESS(tc, "Could not set REUSEADDR on socket2", rv);
 
     rv = apr_socket_bind(sock, to);
-    ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
+    APR_ASSERT_SUCCESS(tc, "Could not bind socket", rv);
     if (rv != APR_SUCCESS)
       return;
 
     rv = apr_socket_bind(sock2, from);
-    ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
+    APR_ASSERT_SUCCESS(tc, "Could not bind second socket", rv);
     if (rv != APR_SUCCESS)
       return;
 



Mime
View raw message