Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_util.c128 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv4_parse()
134 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv4_parse()
138 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr, in regress_ipv4_parse()
147 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv4_parse()
151 TT_FAIL(("Tried to write out %s; got %s", in regress_ipv4_parse()
175 TT_FAIL(("%s did not parse, but it's a good address!", in regress_ipv6_parse()
180 TT_FAIL(("%s parsed, but we expected an error", ent->addr)); in regress_ipv6_parse()
191 TT_FAIL(("%s did not parse as expected.", ent->addr)); in regress_ipv6_parse()
199 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr)); in regress_ipv6_parse()
203 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.c268 TT_FAIL(("lock: free error")); in trace_lock_free()
278 TT_FAIL(("lock: lock error")); in trace_lock_lock()
289 TT_FAIL(("lock: unlock error")); in trace_lock_unlock()
629 TT_FAIL(("Got sender error %d",(int)what)); in sender_errorcb()
687 TT_FAIL(("got connector error %d", (int)what)); in reader_eventcb()
881 TT_FAIL(("didn't fail? what %hd", what)); in want_fail_eventcb()
1079TT_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.c1124 TT_FAIL(("Got an AAAA request for v4assert")); in be_getaddrinfo_server_cb()
1139 TT_FAIL(("Got a A request for v6assert")); in be_getaddrinfo_server_cb()
1222 TT_FAIL(("Two events on one bufferevent. %d,%d", in be_connect_hostname_event_cb()
Dregress_http.c644 TT_FAIL(("%s:bad request detected", __func__)); in http_badreq_readcb()
2538 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \ in http_parse_uri_test()
2548 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2554 TT_FAIL(("Expected error parsing \"%s\"",s)); \ in http_parse_uri_test()
2556 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \ in http_parse_uri_test()
Dregress_ssl.c333 TT_FAIL(("Bad number: %s", line)); in respond_to_number()
Dregress.c289 TT_FAIL(("Legacy test %s not wrapped properly", x)); \