Home
last modified time | relevance | path

Searched refs:TT_FAIL (Results 1 – 16 of 16) sorted by relevance

/netbsd/src/external/bsd/ntp/dist/sntp/libevent/test/
Dregress_util.c130 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv4_parse()
136 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv4_parse()
140 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr, in regress_ipv4_parse()
149 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv4_parse()
153 TT_FAIL(("Tried to write out %s; got %s", in regress_ipv4_parse()
177 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv6_parse()
182 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv6_parse()
193 TT_FAIL(("%s did not parse as expected.", ent->addr)); in regress_ipv6_parse()
201 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv6_parse()
205TT_FAIL(("Tried to write out %s; got %s", ent->addr, written)); in regress_ipv6_parse()
[all …]
Dtinytest_macros.h66 #define TT_FAIL(args) \ macro
79 #define tt_failprint_f(msg) TT_FAIL(msg)
80 #define tt_fail_perror(op) TT_FAIL(("%s: %s [%d]",(op),strerror(errno), errno))
81 #define tt_fail_msg(msg) TT_FAIL(("%s", msg))
82 #define tt_fail() TT_FAIL(("%s", "(Failed.)"))
Dregress_bufferevent.c270 TT_FAIL(("lock: free error")); in trace_lock_free()
280 TT_FAIL(("lock: lock error")); in trace_lock_lock()
291 TT_FAIL(("lock: unlock error")); in trace_lock_unlock()
631 TT_FAIL(("Got sender error %d",(int)what)); in sender_errorcb()
689 TT_FAIL(("got connector error %d", (int)what)); in reader_eventcb()
883 TT_FAIL(("didn't fail? what %hd", what)); in want_fail_eventcb()
1081TT_FAIL(("The triggered callback did not fire or the machine is really slow (try increasing timeou… in trigger_failure_cb()
Dregress_thread.c206 TT_FAIL(("reinit")); in thread_basic()
376 TT_FAIL(("Thread %d never got woken", i)); in thread_conditions_simple()
Dregress_dns.c1126 TT_FAIL(("Got an AAAA request for v4assert")); in be_getaddrinfo_server_cb()
1141 TT_FAIL(("Got a A request for v6assert")); in be_getaddrinfo_server_cb()
1224 TT_FAIL(("Two events on one bufferevent. %d,%d", in be_connect_hostname_event_cb()
Dregress_http.c646 TT_FAIL(("%s:bad request detected", __func__)); in http_badreq_readcb()
2540 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \ in http_parse_uri_test()
2550 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2556 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2558 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \ in http_parse_uri_test()
Dregress_ssl.c335 TT_FAIL(("Bad number: %s", line)); in respond_to_number()
Dregress.c291 TT_FAIL(("Legacy test %s not wrapped properly", x)); \
/netbsd/src/external/bsd/libevent/dist/test/
Dregress_util.c133 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv4_parse()
139 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv4_parse()
143 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr, in regress_ipv4_parse()
152 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv4_parse()
156 TT_FAIL(("Tried to write out %s; got %s", in regress_ipv4_parse()
180 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv6_parse()
185 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv6_parse()
196 TT_FAIL(("%s did not parse as expected.", ent->addr)); in regress_ipv6_parse()
204 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv6_parse()
208TT_FAIL(("Tried to write out %s; got %s", ent->addr, written)); in regress_ipv6_parse()
[all …]
Dtinytest_macros.h66 #define TT_FAIL(args) \ macro
79 #define tt_failprint_f(msg) TT_FAIL(msg)
80 #define tt_fail_perror(op) TT_FAIL(("%s: %s [%d]",(op),strerror(errno), errno))
81 #define tt_fail_msg(msg) TT_FAIL(("%s", msg))
82 #define tt_fail() TT_FAIL(("%s", "(Failed.)"))
Dregress_bufferevent.c272 TT_FAIL(("lock: free error")); in trace_lock_free()
282 TT_FAIL(("lock: lock error")); in trace_lock_lock()
293 TT_FAIL(("lock: unlock error")); in trace_lock_unlock()
633 TT_FAIL(("Got sender error %d",(int)what)); in sender_errorcb()
691 TT_FAIL(("got connector error %d", (int)what)); in reader_eventcb()
885 TT_FAIL(("didn't fail? what %hd", what)); in want_fail_eventcb()
1083TT_FAIL(("The triggered callback did not fire or the machine is really slow (try increasing timeou… in trigger_failure_cb()
Dregress_thread.c210 TT_FAIL(("reinit")); in thread_basic()
381 TT_FAIL(("Thread %d never got woken", i));
Dregress_dns.c1128 TT_FAIL(("Got an AAAA request for v4assert")); in be_getaddrinfo_server_cb()
1143 TT_FAIL(("Got a A request for v6assert")); in be_getaddrinfo_server_cb()
1226 TT_FAIL(("Two events on one bufferevent. %d,%d", in be_connect_hostname_event_cb()
Dregress_http.c649 TT_FAIL(("%s:bad request detected", __func__)); in http_badreq_readcb()
2543 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \ in http_parse_uri_test()
2553 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2559 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2561 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \ in http_parse_uri_test()
Dregress_ssl.c336 TT_FAIL(("Bad number: %s", line)); in respond_to_number()
Dregress.c293 TT_FAIL(("Legacy test %s not wrapped properly", x)); \