Home
last modified time | relevance | path

Searched +defs:test +defs:msg (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/atf/atf-c/
H A Dmacros_test.c113 #define H_CHECK_MSG(id, condition, msg) \ argument
135 #define H_CHECK_EQ_MSG(id, v1, v2, msg) \ argument
142 #define H_CHECK_STREQ_MSG(id, v1, v2, msg) \ argument
149 #define H_CHECK_MATCH_MSG(id, v1, v2, msg) \ argument
164 #define H_REQUIRE_MSG(id, condition, msg) \ argument
186 #define H_REQUIRE_EQ_MSG(id, v1, v2, msg) \ argument
193 #define H_REQUIRE_STREQ_MSG(id, v1, v2, msg) \ argument
200 #define H_REQUIRE_MATCH_MSG(id, v1, v2, msg) \ argument
240 struct test { in ATF_TC_BODY() struct
241 void (*head)(atf_tc_t *); in ATF_TC_BODY()
[all …]
/freebsd/contrib/atf/atf-c++/
H A Dmacros_test.cpp334 struct test { in ATF_TEST_CASE_BODY() struct
335 const char *cond; in ATF_TEST_CASE_BODY()
336 bool ok; in ATF_TEST_CASE_BODY()
378 struct test { in ATF_TEST_CASE_BODY() struct
379 const char *v1; in ATF_TEST_CASE_BODY()
380 const char *v2; in ATF_TEST_CASE_BODY()
381 bool ok; in ATF_TEST_CASE_BODY()
427 struct test { in ATF_TEST_CASE_BODY() struct
428 const char *value; in ATF_TEST_CASE_BODY()
429 bool ok; in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/netbsd-tests/lib/csu/
H A Dh_initfini_common.cxx13 static const char msg[] = "constructor executed\n"; in Test() local
25 static const char msg[] = "destructor executed\n"; in ~Test() local
37 Test test; variable
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dtinytest_macros.h71 #define tt_abort_printf(msg) TT_DIE(msg) argument
73 #define tt_abort_msg(msg) TT_DIE(("%s", msg)) argument
77 #define tt_failprint_f(msg) TT_FAIL(msg) argument
79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg)) argument
89 #define tt_want_(b, msg, fail) \ argument
101 #define tt_want_msg(b, msg) \ argument
105 #define tt_assert_msg(b, msg) \ argument
113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument
143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument
147 #define tt_assert_test_type_opt(a,b,str_test,type,test,fmt,die_on_fail) \ argument
/freebsd/contrib/libevent/test/
H A Dtinytest_macros.h71 #define tt_abort_printf(msg) TT_DIE(msg) argument
73 #define tt_abort_msg(msg) TT_DIE(("%s", msg)) argument
77 #define tt_failprint_f(msg) TT_FAIL(msg) argument
79 #define tt_fail_msg(msg) TT_FAIL(("%s", msg)) argument
89 #define tt_want_(b, msg, fail) \ argument
101 #define tt_want_msg(b, msg) \ argument
105 #define tt_assert_msg(b, msg) \ argument
113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument
143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument
147 #define tt_assert_test_type_opt(a,b,str_test,type,test,fmt,die_on_fail) \ argument
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_archive_set_error.c30 test(struct archive * a,int code,const char * msg) test() argument
H A Dtest_archive_read_open2.c60 test(int formatted, archive_open_callback *o, archive_read_callback *r, test() function
62 test(int formatted,archive_open_callback * o,archive_read_callback * r,archive_skip_callback * s,archive_close_callback * c,int rv,const char * msg) test() argument
[all...]
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/
H A Dt_encrypt.c53 test(const char *msg, krb5_error_code retval) in test() function
80 display(const char *msg, const krb5_data *d) in display()
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_unix.c64 #define FAIL(msg, ...) err(EXIT_FAILURE, msg, ## __VA_ARGS__) argument
68 #define FAIL(msg, ...) \ argument
79 print(const char *msg, struct sockaddr_un *addr, socklen_t len) in print()
140 test(bool closeit, size_t len) in test() function
/freebsd/crypto/heimdal/lib/wind/
H A Dtest-normalize.c71 dump_vector(const char * msg, uint32_t * v, size_t len) in dump_vector()
83 test(char *buf, unsigned lineno) in test() function
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dcrypto_test.c136 crypto_test_val_t msg; member
226 crypto_test_t *test = NULL; in load_tests() local
655 const uint8_t *msg, size_t msglen, in encrypt_one()
800 test_result(const crypto_test_t *test, int encrypt_rv, uint8_t *encrypt_buf, in test_result()
958 for (const crypto_test_t *test = tests; test != NULL; in run_tests() local
1075 uint8_t *msg; member
/freebsd/tools/regression/sockets/sendfile/
H A Dsendfile.c52 #define FAIL(msg) {printf("# %s\n", msg); \ argument
55 #define FAIL_ERR(msg) {printf("# %s: %s\n", msg, strerror(errno)); \ argument
267 send_test(int connect_socket, struct sendfile_test test) in send_test()
/freebsd/contrib/expat/tests/
H A Dminicheck.c92 tcase_add_test(TCase *tc, tcase_test_function test) { in tcase_add_test()
247 _fail(const char *file, int line, const char *msg) { in _fail()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_module_tests.c164 u8 msg[64]; member
225 u8 msg[] = { 0x12, 0x34, 0x56 }; in test_omac1_vector() local
302 u8 msg[] = { 0xF7, 0xFB }; in test_eax() local
1389 const struct passphrase_test *test = &passphrase_tests[i]; in test_sha1() local
1405 const struct rfc6070_test *test = &rfc6070_tests[i]; in test_sha1() local
2318 static int run_hpke_test(const struct hpke_test *test) in run_hpke_test()
/freebsd/sys/dev/wbwd/
H A Dwbwd.c309 int test = arg2; in sysctl_wb_force_test_nmi() local
340 wb_print_state(struct wb_softc *sc, const char *msg) in wb_print_state()
/freebsd/contrib/wpa/src/radius/
H A Dradius_server.c481 int test = atoi(tls); in radius_server_testing_options_tls() local
561 struct radius_msg *msg, const char *from_addr) in radius_server_get_new_session()
900 struct radius_msg *msg; in radius_server_encapsulate_eap() local
1166 struct radius_msg *msg; in radius_server_macacl() local
1252 struct radius_msg *msg; in radius_server_reject() local
1313 struct radius_msg *msg) in radius_server_hs20_t_c_check()
1358 struct radius_msg *msg, in radius_server_request()
1561 struct radius_msg *msg, int ack) in radius_server_receive_disconnect_resp()
1600 struct radius_msg *msg, int ack) in radius_server_receive_coa_resp()
1683 struct radius_msg *msg = NULL; in radius_server_receive_auth() local
[all …]
/freebsd/contrib/ncurses/progs/
H A Dtic.c139 failed(const char *msg) in failed()
1335 char *test = (strchr) (list, ch); in keypad_index() local
1598 long test; in check_keypad() local
2636 char *test; in check_sgr() local
2833 const char *test = table[k].xcurses; in check_conflict() local
2867 check_exit_attribute(const char *name, char *test, char *trimmed, char *untrimmed) in check_exit_attribute()
2916 char *test = tgoto(value, 0, 0); in check_sgr_param() local
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc249 Message msg; in DeathTestThreadWarning() local
390 int line, DeathTest** test) { in Create()
1410 DeathTest** test) { in Create()
H A Dgtest.cc1006 Message msg; in HasOneFailure() local
1263 Message* msg) { in StreamWideCharsToMessage()
1623 Message msg; in EqFailure() local
1655 Message msg; in GetBoolAssertionFailureMessage() local
2849 Test* const test = internal::HandleExceptionsInMethodIfSupported( in Run() local
3376 static void PrintTestName(const char* test_suite, const char* test) { in PrintTestName()
3684 static void PrintTestName(const char* test_suite, const char* test) { in PrintTestName()
5379 Message msg; in AddTestPartResult() local
6082 const Message msg = Message() << "Invalid environment variables: you have " in ShouldShard() local
6090 const Message msg = Message() in ShouldShard() local
[all …]
/freebsd/sbin/routed/
H A Dradix.c37 #define log(x, msg) syslog(x, msg) argument
203 int test, b, rn_b; in rn_match() local
/freebsd/sys/contrib/zstd/programs/
H A Dzstdcli.c302 static int exeNameMatch(const char* exeName, const char* test) in exeNameMatch()
308 static void errorOut(const char* msg) in errorOut()
/freebsd/crypto/openssl/test/
H A Dsslapitest.c1496 static int test_ktls(int test) in test_ktls()
1511 static int test_ktls_sendfile(int test) in test_ktls_sendfile()
1567 unsigned char *msg, *buf = NULL; in test_large_app_data() local
7269 const char *msg = "Hello World"; in test_ssl_clear() local
8070 char msg[] = "A test message"; in test_ssl_pending() local
8689 char msg[] = "A test message"; in test_shutdown() local
9365 unsigned char msg[MULTIBLOCK_FRAGSIZE * 9]; in test_multiblock_write() local
9429 static int test_session_timeout(int test) in test_session_timeout()
11245 char *msg = "Hello World"; in test_read_ahead_key_change() local
11345 char *msg = "Hello World"; in test_tls13_record_padding() local
[all …]
/freebsd/tests/sys/netmap/
H A Dctrl-api-test.c1958 nmctx_parsing_error(struct nmctx *ctx, const char *msg) in nmctx_parsing_error()
2044 testfunc_t test; member
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc1026 const char* /*file*/, int /*line*/, DeathTest** test) { in Create()
1272 Message msg; in TEST() local
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c429 static const char *msg, *nextmsg; variable
3802 test_filter(const char *pattern, const char *test) in test_filter()
3842 get_test_set(int *test_set, int limit, const char *test) in get_test_set()

12