| /src/external/ibm-public/postfix/dist/src/util/ |
| clean_ascii_cntrl_space.c | 103 const char *exp_output; member in struct:TEST_CASE 112 static VSTRING *exp_output; variable 124 if (!got != !tp->exp_output) { 127 tp->exp_output ? tp->exp_output : "null"); 130 if (got && strcmp(got, tp->exp_output) != 0) { 131 msg_warn("got result ``%s'', want ``%s''", got, tp->exp_output); 150 test.exp_output = test.input; 168 vstring_sprintf(exp_output, "0x%02x> <", ch); 169 test.exp_output = STR(exp_output) [all...] |
| readlline.c | 178 * Test cases. Note: the input and exp_output fields are converted with 184 const char *exp_output; member in struct:testcase 319 unescape(exp_buf, tp->exp_output); 335 tp->exp_output); 344 tp->exp_output);
|
| hex_code.c | 209 const char *exp_output; /* expected output or null */ member in struct:TEST_CASE 314 if (out == 0 && tp->exp_output == 0) { 322 } else if (memcmp(STR(out), tp->exp_output, tp->exp_outlen) != 0) { 325 (int) tp->exp_outlen, tp->exp_output);
|
| /src/external/bsd/kyua-cli/dist/utils/text/ |
| templates_test.cpp | 49 /// This fails the test case if exp_output does not match the document generated 54 /// \param exp_output The expected output document. 57 const std::string& exp_output) 63 ATF_REQUIRE_EQ(exp_output, output.str()); 373 const std::string exp_output = local 386 do_test_ok(templates, input, exp_output); 410 const std::string exp_output = local 424 do_test_ok(templates, input, exp_output); 451 const std::string exp_output = local 469 do_test_ok(templates, input, exp_output); 531 const std::string exp_output = local 560 const std::string exp_output = local 593 const std::string exp_output = local 638 const std::string exp_output = local 666 const std::string exp_output = local 688 const std::string exp_output = local 724 const std::string exp_output = local 756 const std::string exp_output = local 801 const std::string exp_output = local 843 const std::string exp_output = local 869 const std::string exp_output = local [all...] |
| /src/external/ibm-public/postfix/dist/src/global/ |
| rfc2047_code.c | 398 const char *exp_output; member in struct:TEST_CASE 448 if (!got != !tp->exp_output) { 451 tp->exp_output ? tp->exp_output : "null"); 454 if (got && strcmp(got, tp->exp_output) != 0) { 455 msg_warn("got result ``%s'', want ``%s''", got, tp->exp_output); 475 VSTRING *exp_output; local 505 exp_output = vstring_alloc(100); 520 vstring_sprintf(exp_output, CHARSET_ALLOW_TEMPLATE, ch); 521 test.exp_output = vstring_str(exp_output) 558 VSTRING *exp_output; local [all...] |
| ascii_header_text.c | 200 const char *exp_output; member in struct:TEST_CASE 218 if (!got != !tp->exp_output) { 221 tp->exp_output ? tp->exp_output : "null"); 224 if (got && strcmp(got, tp->exp_output) != 0) { 225 msg_warn("got result ``%s'', want ``%s''", got, tp->exp_output);
|
| /src/external/bsd/kyua-testers/dist/ |
| atf_list_test.c | 55 /// \param exp_output Expected output of the parsing. 57 do_ok_test(const char* input_name, const char* exp_output) 63 if (!atf_utils_compare_file("output.txt", exp_output)) { 64 atf_utils_create_file("expout.txt", "%s", exp_output);
|
| atf_result_test.c | 110 /// \param exp_output Text of the expected generic result. 112 #define CHECK(name, input, wait_status, timed_out, exp_output, exp_success) \ 121 ATF_REQUIRE(atf_utils_compare_file("out.txt", exp_output)); \ 431 /// \param exp_output Text of the expected generic result. 433 #define CHECK_CLEANUP(name, wait_status, timed_out, exp_output, exp_success) \ 442 ATF_REQUIRE(atf_utils_compare_file("out.txt", exp_output)); \
|
| /src/external/bsd/kyua-cli/dist/engine/ |
| testers_test.cpp | 126 const std::string exp_output = local 131 ATF_REQUIRE_EQ(exp_output, output); 146 const std::string exp_output = local 154 ATF_REQUIRE_EQ(exp_output, output); 202 const std::string exp_output = local 210 ATF_REQUIRE(atf::utils::compare_file("tester.out", exp_output)); 231 const std::string exp_output = local 244 ATF_REQUIRE(atf::utils::compare_file("tester.out", exp_output));
|