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

/netbsd-current/external/bsd/libevent/dist/test/
H A Dregress_util.c133 TT_FAIL(("%s did not parse, but it's a good address!",
139 TT_FAIL(("%s parsed, but we expected an error", ent->addr));
143 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr,
152 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr));
156 TT_FAIL(("Tried to write out %s; got %s",
180 TT_FAIL(("%s did not parse, but it's a good address!",
185 TT_FAIL(("%s parsed, but we expected an error", ent->addr));
196 TT_FAIL(("%s did not parse as expected.", ent->addr));
204 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr));
208 TT_FAIL(("Trie
[all...]
H A 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.)"))
H A Dregress_bufferevent.c272 TT_FAIL(("lock: free error"));
282 TT_FAIL(("lock: lock error"));
293 TT_FAIL(("lock: unlock error"));
633 TT_FAIL(("Got sender error %d",(int)what));
691 TT_FAIL(("got connector error %d", (int)what));
885 TT_FAIL(("didn't fail? what %hd", what));
1083 TT_FAIL(("The triggered callback did not fire or the machine is really slow (try increasing timeout)."));
H A Dregress_thread.c210 TT_FAIL(("reinit"));
381 TT_FAIL(("Thread %d never got woken", i));
H A Dregress_http.c649 TT_FAIL(("%s:bad request detected", __func__));
2543 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \
2553 TT_FAIL(("Expected error parsing \"%s\"",s)); \
2559 TT_FAIL(("Expected error parsing \"%s\"",s)); \
2561 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \
H A Dregress_dns.c1128 TT_FAIL(("Got an AAAA request for v4assert"));
1143 TT_FAIL(("Got a A request for v6assert"));
1226 TT_FAIL(("Two events on one bufferevent. %d,%d",
H A Dregress_ssl.c336 TT_FAIL(("Bad number: %s", line));
H A Dregress.c293 TT_FAIL(("Legacy test %s not wrapped properly", x)); \
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_util.c130 TT_FAIL(("%s did not parse, but it's a good address!",
136 TT_FAIL(("%s parsed, but we expected an error", ent->addr));
140 TT_FAIL(("%s parsed to %lx, but we expected %lx", ent->addr,
149 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr));
153 TT_FAIL(("Tried to write out %s; got %s",
177 TT_FAIL(("%s did not parse, but it's a good address!",
182 TT_FAIL(("%s parsed, but we expected an error", ent->addr));
193 TT_FAIL(("%s did not parse as expected.", ent->addr));
201 TT_FAIL(("Tried to write out %s; got NULL.", ent->addr));
205 TT_FAIL(("Trie
[all...]
H A 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.)"))
H A Dregress_bufferevent.c270 TT_FAIL(("lock: free error"));
280 TT_FAIL(("lock: lock error"));
291 TT_FAIL(("lock: unlock error"));
631 TT_FAIL(("Got sender error %d",(int)what));
689 TT_FAIL(("got connector error %d", (int)what));
883 TT_FAIL(("didn't fail? what %hd", what));
1081 TT_FAIL(("The triggered callback did not fire or the machine is really slow (try increasing timeout)."));
H A Dregress_thread.c206 TT_FAIL(("reinit"));
376 TT_FAIL(("Thread %d never got woken", i));
H A Dregress_http.c646 TT_FAIL(("%s:bad request detected", __func__));
2540 TT_FAIL(("\"%s\" != \"%s\"",ret,want)); \
2550 TT_FAIL(("Expected error parsing \"%s\"",s)); \
2556 TT_FAIL(("Expected error parsing \"%s\"",s)); \
2558 TT_FAIL(("Couldn't parse nonconformant URI \"%s\"", \
H A Dregress_dns.c1126 TT_FAIL(("Got an AAAA request for v4assert"));
1141 TT_FAIL(("Got a A request for v6assert"));
1224 TT_FAIL(("Two events on one bufferevent. %d,%d",
H A Dregress_ssl.c335 TT_FAIL(("Bad number: %s", line));
H A Dregress.c291 TT_FAIL(("Legacy test %s not wrapped properly", x)); \

Completed in 372 milliseconds