diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2007-10-06 22:44:46 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2007-10-06 22:44:46 +0000 |
commit | 49cd8829f9550095702d9a421ba453745b388d0b (patch) | |
tree | 045da0e709d3f7c13e428eb532e17ca325a57837 /test/testsockets.c | |
parent | b1be96fdcbf4456ed19ab90d48212083984c793c (diff) | |
download | apr-49cd8829f9550095702d9a421ba453745b388d0b.tar.gz |
Solve two sets of issues, only two possible changes, in one
batch commit;
* P64 architectures require us to use ABTS_SIZE_EQUAL
* We need to localize to TESTBINPATH for win32
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@582544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testsockets.c')
-rw-r--r-- | test/testsockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsockets.c b/test/testsockets.c index 4bed66e42..f54a2de5f 100644 --- a/test/testsockets.c +++ b/test/testsockets.c @@ -148,7 +148,7 @@ static void sendto_receivefrom_helper(abts_case *tc, const char *addr, int famil len = STRLEN; rv = apr_socket_sendto(sock2, to, 0, sendbuf, &len); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); - ABTS_INT_EQUAL(tc, STRLEN, len); + ABTS_SIZE_EQUAL(tc, STRLEN, len); /* fill the "from" sockaddr with a random address to ensure that * recvfrom sets it up properly. */ @@ -157,7 +157,7 @@ static void sendto_receivefrom_helper(abts_case *tc, const char *addr, int famil len = 80; rv = apr_socket_recvfrom(from, sock, 0, recvbuf, &len); ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); - ABTS_INT_EQUAL(tc, STRLEN, len); + ABTS_SIZE_EQUAL(tc, STRLEN, len); ABTS_STR_EQUAL(tc, "APR_INET, SOCK_DGRAM", recvbuf); apr_sockaddr_ip_get(&ip_addr, from); |