diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2013-07-26 18:08:37 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2013-07-26 18:08:37 +0000 |
commit | b60d9af514b74bf164a0a0294e7272ed2a8b0b98 (patch) | |
tree | c232c44aa6e15cb9a93addefe5bf5a0e0291d598 /test | |
parent | 48e9cc1f42f42a9acda2dbd6f186dba0e291cc7b (diff) | |
download | neon-b60d9af514b74bf164a0a0294e7272ed2a8b0b98.tar.gz |
* test/request.c (retry_after_abort): Correctly catch errors.
Re-order tests to avoid triggering some weird glibc getaddrinfo issue.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1908 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'test')
-rw-r--r-- | test/request.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/request.c b/test/request.c index 826cf19..d397dd7 100644 --- a/test/request.c +++ b/test/request.c @@ -1536,7 +1536,7 @@ static int retry_after_abort(void) * aborted. */ CALL(make_session(&sess, serve_then_abort, &flag)); - CALL(any_request(sess, "/first")); + ONREQ(any_request(sess, "/first")); ONN("second request should fail", any_request(sess, "/second") == NE_OK); CALL(await_server()); @@ -2438,8 +2438,6 @@ ne_test tests[] = { T(fail_long_header), T(fail_on_invalid), T(read_timeout), - T(fail_lookup), - T(fail_double_lookup), T(fail_connect), T(proxy_no_resolve), T(fail_chunksize), @@ -2463,5 +2461,7 @@ ne_test tests[] = { T(socks_v4_proxy), T(send_length), T(socks_fail), + T(fail_lookup), + T(fail_double_lookup), T(NULL) }; |