Home
last modified time | relevance | path

Searched refs:test_ok (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_http.c282 test_ok++; in http_readcb()
304 test_ok++; in http_writecb()
314 test_ok = -2; in http_errorcb()
359 test_ok++; in http_basic_cb()
361 test_ok++; in http_basic_cb()
390 test_ok++; in http_timeout_reply_cb()
499 if (!test_ok) { in http_half_writecb()
507 test_ok++; in http_half_writecb()
544 test_ok = 0; in http_basic_test_impl()
546 tt_int_op(test_ok, ==, 3); in http_basic_test_impl()
[all …]
H A Dregress_rpc.c136 test_ok += 1;
179 test_ok = 1; in rpc_postrequest_failure()
219 test_ok = 0; in rpc_basic_test()
227 tt_assert(test_ok == 1); in rpc_basic_test()
252 test_ok = 1; in rpc_postrequest_done()
299 test_ok = 0; in rpc_basic_message()
361 test_ok += 1; in GotKillCb()
392 test_ok += 1; in GotKillCbTwo()
395 if (test_ok == 2) in GotKillCbTwo()
484 test_ok = 0; in rpc_basic_client()
[all …]
H A Dregress.c83 int test_ok; variable
124 test_ok = 1; in simple_read_cb()
175 test_ok = 0; in simple_write_cb()
177 test_ok = 1; in simple_write_cb()
341 test_ok = 1; in simpleread_multiple_cb()
551 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_multiple()
580 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_persistent()
610 test_ok = 1; in test_combined()
634 test_ok = 1; in test_simpletimeout()
648 test_ok = 1; in periodic_timeout_cb()
[all …]
H A Dregress_bufferevent.c121 test_ok++; in readcb()
132 test_ok++; in writecb()
139 test_ok = -2; in errorcb()
206 if (test_ok != expected) in test_bufferevent_impl()
207 test_ok = 0; in test_bufferevent_impl()
387 test_ok++; in wm_readcb()
399 test_ok++; in wm_writecb()
406 test_ok = -2; in wm_errorcb()
416 test_ok = 0; in test_bufferevent_watermarks_impl()
467 tt_int_op(test_ok, ==, 2); in test_bufferevent_watermarks_impl()
[all …]
H A Dregress_finalize.c304 test_ok += 1; in event_finalize_callback_free()
307 test_ok += 1; in event_finalize_callback_free()
327 tt_int_op(test_ok, ==, 1); in test_fin_debug_use_after_free()
337 tt_int_op(test_ok, ==, 2); in test_fin_debug_use_after_free()
H A Dregress_main.c391 test_ok = called = 0; in run_legacy_test_fn()
397 if (!test_ok) in run_legacy_test_fn()
401 test_ok = 0; in run_legacy_test_fn()
H A Dregress.h68 extern int test_ok;
H A Dregress_zlib.c340 test_ok = 1; in test_bufferevent_zlib()
H A Dregress_dns.c169 test_ok = dns_ok; in dns_gethostbyname()
186 test_ok = 1; in dns_gethostbyname6()
201 test_ok = dns_ok; in dns_gethostbyaddr()
462 test_ok = dns_ok; in dns_server()