Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c277 test_ok++; in http_readcb()
299 test_ok++; in http_writecb()
309 test_ok = -2; in http_errorcb()
354 test_ok++; in http_basic_cb()
356 test_ok++; in http_basic_cb()
385 test_ok++; in http_timeout_reply_cb()
494 if (!test_ok) { in http_half_writecb()
502 test_ok++; in http_half_writecb()
539 test_ok = 0; in http_basic_test_impl()
541 tt_int_op(test_ok, ==, 3); in http_basic_test_impl()
[all …]
H A Dregress_rpc.c132 test_ok += 1;
175 test_ok = 1; in rpc_postrequest_failure()
215 test_ok = 0; in rpc_basic_test()
223 tt_assert(test_ok == 1); in rpc_basic_test()
248 test_ok = 1; in rpc_postrequest_done()
295 test_ok = 0; in rpc_basic_message()
357 test_ok += 1; in GotKillCb()
388 test_ok += 1; in GotKillCbTwo()
391 if (test_ok == 2) in GotKillCbTwo()
480 test_ok = 0; in rpc_basic_client()
[all …]
H A Dregress.c79 int test_ok; variable
120 test_ok = 1; in simple_read_cb()
171 test_ok = 0; in simple_write_cb()
173 test_ok = 1; in simple_write_cb()
337 test_ok = 1; in simpleread_multiple_cb()
547 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_multiple()
576 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_persistent()
606 test_ok = 1; in test_combined()
630 test_ok = 1; in test_simpletimeout()
644 test_ok = 1; in periodic_timeout_cb()
[all …]
H A Dregress_bufferevent.c117 test_ok++; in readcb()
128 test_ok++; in writecb()
135 test_ok = -2; in errorcb()
202 if (test_ok != expected) in test_bufferevent_impl()
203 test_ok = 0; in test_bufferevent_impl()
383 test_ok++; in wm_readcb()
395 test_ok++; in wm_writecb()
402 test_ok = -2; in wm_errorcb()
412 test_ok = 0; in test_bufferevent_watermarks_impl()
463 tt_int_op(test_ok, ==, 2); in test_bufferevent_watermarks_impl()
[all …]
H A Dregress_finalize.c301 test_ok += 1; in event_finalize_callback_free()
304 test_ok += 1; in event_finalize_callback_free()
324 tt_int_op(test_ok, ==, 1); in test_fin_debug_use_after_free()
334 tt_int_op(test_ok, ==, 2); in test_fin_debug_use_after_free()
H A Dregress_main.c386 test_ok = called = 0; in run_legacy_test_fn()
392 if (!test_ok) in run_legacy_test_fn()
396 test_ok = 0; in run_legacy_test_fn()
H A Dregress.h66 extern int test_ok;
H A Dregress_zlib.c337 test_ok = 1; in test_bufferevent_zlib()
H A Dregress_dns.c165 test_ok = dns_ok; in dns_gethostbyname()
182 test_ok = 1; in dns_gethostbyname6()
197 test_ok = dns_ok; in dns_gethostbyaddr()
458 test_ok = dns_ok; in dns_server()
/freebsd/contrib/libevent/test/
H A Dregress_http.c277 test_ok++; in http_readcb()
299 test_ok++; in http_writecb()
309 test_ok = -2; in http_errorcb()
354 test_ok++; in http_basic_cb()
356 test_ok++; in http_basic_cb()
385 test_ok++; in http_timeout_reply_cb()
494 if (!test_ok) { in http_half_writecb()
502 test_ok++; in http_half_writecb()
539 test_ok = 0; in http_basic_test_impl()
541 tt_int_op(test_ok, ==, 3); in http_basic_test_impl()
[all …]
H A Dregress_rpc.c132 test_ok += 1;
175 test_ok = 1; in rpc_postrequest_failure()
215 test_ok = 0; in rpc_basic_test()
223 tt_assert(test_ok == 1); in rpc_basic_test()
248 test_ok = 1; in rpc_postrequest_done()
295 test_ok = 0; in rpc_basic_message()
357 test_ok += 1; in GotKillCb()
388 test_ok += 1; in GotKillCbTwo()
391 if (test_ok == 2) in GotKillCbTwo()
480 test_ok = 0; in rpc_basic_client()
[all …]
H A Dregress.c79 int test_ok; variable
120 test_ok = 1; in simple_read_cb()
171 test_ok = 0; in simple_write_cb()
173 test_ok = 1; in simple_write_cb()
337 test_ok = 1; in simpleread_multiple_cb()
547 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_multiple()
576 test_ok = memcmp(rbuf, wbuf, sizeof(wbuf)) == 0; in test_persistent()
606 test_ok = 1; in test_combined()
630 test_ok = 1; in test_simpletimeout()
644 test_ok = 1; in periodic_timeout_cb()
[all …]
H A Dregress_bufferevent.c117 test_ok++; in readcb()
128 test_ok++; in writecb()
135 test_ok = -2; in errorcb()
202 if (test_ok != expected) in test_bufferevent_impl()
203 test_ok = 0; in test_bufferevent_impl()
383 test_ok++; in wm_readcb()
395 test_ok++; in wm_writecb()
402 test_ok = -2; in wm_errorcb()
412 test_ok = 0; in test_bufferevent_watermarks_impl()
463 tt_int_op(test_ok, ==, 2); in test_bufferevent_watermarks_impl()
[all …]
H A Dregress_finalize.c301 test_ok += 1; in event_finalize_callback_free()
304 test_ok += 1; in event_finalize_callback_free()
324 tt_int_op(test_ok, ==, 1); in test_fin_debug_use_after_free()
334 tt_int_op(test_ok, ==, 2); in test_fin_debug_use_after_free()
H A Dregress_main.c386 test_ok = called = 0; in run_legacy_test_fn()
392 if (!test_ok) in run_legacy_test_fn()
396 test_ok = 0; in run_legacy_test_fn()
H A Dregress.h66 extern int test_ok;
H A Dregress_zlib.c337 test_ok = 1; in test_bufferevent_zlib()
H A Dregress_dns.c165 test_ok = dns_ok; in dns_gethostbyname()
182 test_ok = 1; in dns_gethostbyname6()
197 test_ok = dns_ok; in dns_gethostbyaddr()
458 test_ok = dns_ok; in dns_server()
/freebsd/tests/sys/fs/fusefs/
H A Dopen.cc48 void test_ok(int os_flags, int fuse_flags) { in test_ok() function in Open
222 test_ok(O_WRONLY | O_APPEND, O_WRONLY | O_APPEND); in TEST_F()
228 test_ok(O_WRONLY | O_CREAT, O_WRONLY); in TEST_F()
234 test_ok(O_WRONLY | O_DIRECT, O_WRONLY | O_DIRECT); in TEST_F()
240 test_ok(O_WRONLY | O_EXCL, O_WRONLY); in TEST_F()
245 test_ok(O_EXEC, O_EXEC); in TEST_F()
251 test_ok(O_WRONLY | O_NOCTTY, O_WRONLY); in TEST_F()
256 test_ok(O_RDONLY, O_RDONLY); in TEST_F()
262 test_ok(O_WRONLY | O_TRUNC, O_WRONLY | O_TRUNC); in TEST_F()
267 test_ok(O_WRONLY, O_WRONLY); in TEST_F()
[all …]
/freebsd/tests/sys/netgraph/
H A Dng_macfilter_test.sh115 test_ok () { function
137 test_ok "$v1 $msg"
146 test_ok "$v1 $msg"
155 test_ok "$v1 $msg"
164 test_ok "$v1 $msg"
173 test_ok "$v1 $msg"
182 test_ok "$v1 $msg"
191 test_ok "$msg - \"$@\" failed as expected"
202 test_ok "$msg - \"$@\" succeeded"