Home
last modified time | relevance | path

Searched refs:fail_if (Results 1 – 11 of 11) sorted by relevance

/curl/tests/unit/
H A Dunit2602.c50 fail_if(Curl_dynhds_count(&hds), "should be empty");
56 fail_if(TRUE, "should");
60 fail_if(TRUE, "add failed");
68 fail_if(TRUE, "add failed");
79 fail_if(Curl_dynhds_get(&hds, "test1", 4), "false positive");
93 fail_if(Curl_dynhds_add(&hds, "t", 1, "1", 1), "add failed");
115 fail_if(strcmp(Curl_dyn_ptr(&dbuf),
129 fail_if(Curl_dynhds_h1_cadd_line(&hds, "ti1: val1"), "add");
131 fail_if(Curl_dynhds_h1_cadd_line(&hds, "ti2: val1"), "add");
133 fail_if(Curl_dynhds_h1_cadd_line(&hds, "ti3: val1"), "add");
[all …]
H A Dunit1654.c51 fail_if(result, "Curl_altsvc_load");
57 fail_if(!curl, "curl_easy_init");
65 fail_if(result, "Curl_altsvc_parse() failed!");
70 fail_if(result, "Curl_altsvc_parse(2) failed!");
76 fail_if(result, "Curl_altsvc_parse(3) failed!");
83 fail_if(result, "Curl_altsvc_parse(4) failed!");
90 fail_if(result, "Curl_altsvc_parse(4) failed!");
97 fail_if(result, "Curl_altsvc_parse(5) failed!");
103 fail_if(result, "Curl_altsvc_parse(6) failed!");
H A Dunit1655.c119 fail_if(victim.canary1 == 87,
156 fail_if(olen1 == magic1, "olen has not been assigned properly");
163 fail_if(olen2 == magic1, "olen has not been assigned properly");
170 fail_if(olen2 == magic1, "olen has not been assigned properly");
175 fail_if(ret == DOH_OK, "short buffer should have been noticed");
H A Dunit1302.c152 fail_if(decoded, "returned pointer should be NULL");
161 fail_if(decoded, "returned pointer should be NULL");
170 fail_if(decoded, "returned pointer should be NULL");
179 fail_if(decoded, "returned pointer should be NULL");
188 fail_if(decoded, "returned pointer should be NULL");
H A Dunit2601.c139 fail_if(TRUE, "write: bufq full but nwritten wrong"); in check_bufq()
158 fail_if(TRUE, "read: bufq empty but nread wrong"); in check_bufq()
162 fail_if(TRUE, "read empty, but tail is not NULL"); in check_bufq()
194 fail_if(TRUE, "write: bufq full but nwritten wrong"); in check_bufq()
H A Dunit1621.c75 fail_if(stripped && strcmp(tests[i].output, stripped),
H A Dunit2603.c100 fail_if(!p.done, "end not detected"); in parse_success()
101 fail_if(!p.req, "not request created"); in parse_success()
H A Dunit1395.c105 fail_if(fails, "output mismatched");
H A Dcurlcheck.h27 #define fail_if(expr, msg) \ macro
H A Dunit1650.c277 fail_if(d.numaddr != 1, "missing address");
286 fail_if(d.numcname, "bad cname counter");
H A Dunit1614.c163 fail_if(err, "errors");

Completed in 36 milliseconds