Searched refs:fail_if (Results 1 – 11 of 11) sorted by relevance
/curl/tests/unit/ |
H A D | unit2602.c | 50 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 D | unit1654.c | 51 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 D | unit1655.c | 119 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 D | unit1302.c | 152 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 D | unit2601.c | 139 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 D | unit1621.c | 75 fail_if(stripped && strcmp(tests[i].output, stripped),
|
H A D | unit2603.c | 100 fail_if(!p.done, "end not detected"); in parse_success() 101 fail_if(!p.req, "not request created"); in parse_success()
|
H A D | unit1395.c | 105 fail_if(fails, "output mismatched");
|
H A D | curlcheck.h | 27 #define fail_if(expr, msg) \ macro
|
H A D | unit1650.c | 277 fail_if(d.numaddr != 1, "missing address"); 286 fail_if(d.numcname, "bad cname counter");
|
H A D | unit1614.c | 163 fail_if(err, "errors");
|
Completed in 36 milliseconds