Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_util.c124 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv4_parse()
130 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv4_parse()
134 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr, in regress_ipv4_parse()
143 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv4_parse()
147 TT_FAIL(("Tried to write out %s; got %s", in regress_ipv4_parse()
171 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv6_parse()
176 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv6_parse()
187 TT_FAIL(("%s did not parse as expected.", ent->addr)); in regress_ipv6_parse()
195 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv6_parse()
199 TT_FAIL(("Tried to write out %s; got %s", ent->addr, written)); in regress_ipv6_parse()
[all …]
Dtinytest_macros.h64 #define TT_FAIL(args) \ macro
77 #define tt_failprint_f(msg) TT_FAIL(msg)
78 #define tt_fail_perror(op) TT_FAIL(("%s: %s [%d]",(op),strerror(errno), errno))
79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg))
80 #define tt_fail() TT_FAIL(("%s", "(Failed.)"))
Dregress_bufferevent.c255 TT_FAIL(("lock: free error")); in trace_lock_free()
265 TT_FAIL(("lock: lock error")); in trace_lock_lock()
276 TT_FAIL(("lock: unlock error")); in trace_lock_unlock()
616 TT_FAIL(("Got sender error %d",(int)what)); in sender_errorcb()
674 TT_FAIL(("got connector error %d", (int)what)); in reader_eventcb()
843 TT_FAIL(("didn't fail? what %hd", what)); in want_fail_eventcb()
1052TT_FAIL(("The triggered callback did not fire or the machine is really slow (try increasing timeou… in trigger_failure_cb()
Dregress_thread.c204 TT_FAIL(("reinit")); in thread_basic()
374 TT_FAIL(("Thread %d never got woken", i)); in thread_conditions_simple()
Dregress_dns.c1072 TT_FAIL(("Got an AAAA request for v4assert")); in be_getaddrinfo_server_cb()
1087 TT_FAIL(("Got a A request for v6assert")); in be_getaddrinfo_server_cb()
1186 TT_FAIL(("Two events on one bufferevent. %d,%d", in be_connect_hostname_event_cb()
Dregress_ssl.c273 TT_FAIL(("Bad number: %s", line)); in respond_to_number()
Dregress_http.c599 TT_FAIL(("%s:bad request detected", __func__)); in http_badreq_readcb()
2473 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \ in http_parse_uri_test()
2483 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2489 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2491 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \ in http_parse_uri_test()
Dregress.c291 TT_FAIL(("Legacy test %s not wrapped properly", x)); \