/freebsd-current/contrib/googletest/googletest/test/ |
H A D | googletest-shuffle-test.py | 31 """Verifies that test shuffling works.""" 34 from googletest.test import gtest_test_utils 39 # The environment variables for test sharding. 77 """Runs the test program and returns its output.""" 86 """Runs the test program and returns a list of test lists. 94 test iteration. 109 """Returns a list of test cases in the given full test names. 112 tests: a list of full test name [all...] |
/freebsd-current/lib/msun/tests/ |
H A D | lround_test.c | 37 #include "test-utils.h" 41 #define test(func, x, result, excepts) do { \ macro 57 test(lround, x, result, excepts); \ 58 test(lroundf, x, result, excepts); \ 59 test(llround, x, result, excepts); \ 60 test(llroundf, x, result, excepts); \ 79 test(lround, 0x7fffffff.8p0, IGNORE, FE_INVALID); 80 test(lround, -0x80000000.8p0, IGNORE, FE_INVALID); 81 test(lround, 0x80000000.0p0, IGNORE, FE_INVALID); 82 test(lroun [all...] |
/freebsd-current/tools/regression/priv/ |
H A D | priv_vfs_chown.c | 59 priv_vfs_chown_uid_setup(int asroot, int injail, struct test *test) argument 69 priv_vfs_chown_uid(int asroot, int injail, struct test *test) argument 89 priv_vfs_chown_mygid_setup(int asroot, int injail, struct test *test) argument 93 * Create a file with a matching uid to the test process, but not a 103 priv_vfs_chown_mygid(int asroot, int injail, struct test *test) argument 123 priv_vfs_chown_othergid_setup(int asroot, int injail, struct test *tes argument 137 priv_vfs_chown_othergid(int asroot, int injail, struct test *test) argument 155 priv_vfs_chown_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_vfs_chmod.c | 51 priv_vfs_chmod_froot_setup(int asroot, int injail, struct test *test) argument 61 priv_vfs_chmod_fowner_setup(int asroot, int injail, struct test *test) argument 71 priv_vfs_chmod_fother_setup(int asroot, int injail, struct test *test) argument 81 priv_vfs_chmod_froot(int asroot, int injail, struct test *test) argument 99 priv_vfs_chmod_fowner(int asroot, int injail, struct test *test) argument 118 priv_vfs_chmod_fother(int asroot, int injail, struct test *test) argument 137 priv_vfs_chmod_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_vfs_setgid.c | 51 priv_vfs_setgid_fowner_setup(int asroot, int injail, struct test *test) argument 61 priv_vfs_setgid_fother_setup(int asroot, int injail, struct test *test) argument 72 priv_vfs_setgid_fowner(int asroot, int injail, struct test *test) argument 92 priv_vfs_setgid_fother(int asroot, int injail, struct test *test) argument 112 priv_vfs_setgid_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_netinet_ipsec.c | 54 struct test *test, int af) 88 struct test *test) 91 return (priv_netinet_ipsec_policy_bypass_setup_af(asroot, injail, test, 98 struct test *test) 101 return (priv_netinet_ipsec_policy_bypass_setup_af(asroot, injail, test, 109 struct test *test, in 53 priv_netinet_ipsec_policy_bypass_setup_af(int asroot, int injail, struct test *test, int af) argument 87 priv_netinet_ipsec_policy4_bypass_setup(int asroot, int injail, struct test *test) argument 97 priv_netinet_ipsec_policy6_bypass_setup(int asroot, int injail, struct test *test) argument 108 priv_netinet_ipsec_policy_entrust_setup_af(int asroot, int injail, struct test *test, int af) argument 142 priv_netinet_ipsec_policy4_entrust_setup(int asroot, int injail, struct test *test) argument 152 priv_netinet_ipsec_policy6_entrust_setup(int asroot, int injail, struct test *test) argument 162 priv_netinet_ipsec_pfkey(int asroot, int injail, struct test *test) argument 193 priv_netinet_ipsec_policy_bypass_af(int asroot, int injail, struct test *test, int af) argument 230 priv_netinet_ipsec_policy4_bypass(int asroot, int injail, struct test *test) argument 238 priv_netinet_ipsec_policy6_bypass(int asroot, int injail, struct test *test) argument 246 priv_netinet_ipsec_policy_entrust_af(int asroot, int injail, struct test *test, int af) argument 283 priv_netinet_ipsec_policy4_entrust(int asroot, int injail, struct test *test) argument 291 priv_netinet_ipsec_policy6_entrust(int asroot, int injail, struct test *test) argument 299 priv_netinet_ipsec_policy_bypass_cleanup(int asroot, int injail, struct test *test) argument 314 priv_netinet_ipsec_policy_entrust_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_adjtime.c | 49 priv_adjtime_setup(int asroot, int injail, struct test *test) argument 63 priv_adjtime_set(int asroot, int injail, struct test *test) argument 79 priv_adjtime_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_audit_submit.c | 50 priv_audit_submit_setup(int asroot, int injail, struct test *test) argument 61 priv_audit_submit(int asroot, int injail, struct test *test) argument 83 priv_audit_submit_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_fhstatfs.c | 50 priv_vfs_fhstatfs_setup(int asroot, int injail, struct test *test) argument 64 priv_vfs_fhstatfs(int asroot, int injail, struct test *test) argument 84 priv_vfs_fhstatfs_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_fhstat.c | 51 priv_vfs_fhstat_setup(int asroot, int injail, struct test *test) argument 65 priv_vfs_fhstat(int asroot, int injail, struct test *test) argument 82 priv_vfs_fhstat_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_vfs_getfh.c | 47 priv_vfs_getfh_setup(int asroot, int injail, struct test *test) argument 56 priv_vfs_getfh(int asroot, int injail, struct test *test) argument 73 priv_vfs_getfh_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_proc_setlogin.c | 48 priv_proc_setlogin_setup(int asroot, int injail, struct test *test) argument 63 priv_proc_setlogin(int asroot, int injail, struct test *test) argument 81 priv_proc_setlogin_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_kenv_unset.c | 46 priv_kenv_unset_setup(int asroot, int injail, struct test *test) argument 57 priv_kenv_unset(int asroot, int injail, struct test *test) argument 73 priv_kenv_unset_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_kenv_set.c | 46 priv_kenv_set_setup(int asroot, int injail, struct test *test) argument 54 priv_kenv_set(int asroot, int injail, struct test *test) argument 70 priv_kenv_set_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_netinet_raw.c | 46 priv_netinet_raw_setup(int asroot, int injail, struct test *test) argument 53 priv_netinet_raw(int asroot, int injail, struct test *test) argument 77 priv_netinet_raw_cleanup(int asroot, int injail, struct test *test) argument
|
H A D | priv_sched_setpriority.c | 32 * Test that privilege is required to lower nice value; first test with, then 36 * permissions test, we have to create two children processes with different 56 priv_sched_setpriority_setup(int asroot, int injail, struct test *test) argument 65 if (test->t_test_func == priv_sched_setpriority_aproc) { 69 if (test->t_test_func == priv_sched_setpriority_myproc) 94 priv_sched_setpriority_curproc(int asroot, int injail, struct test *test) argument 114 priv_sched_setpriority_myproc(int asroot, int injail, struct test *test) argument 134 priv_sched_setpriority_aproc(int asroot, int injail, struct test *test) argument 154 priv_sched_setpriority_cleanup(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_acct.c | 32 * Test that configuring accounting requires privilege. We test four cases 63 priv_acct_setup(int asroot, int injail, struct test *test) argument 83 if (test->t_test_func == priv_acct_enable || 84 test->t_test_func == priv_acct_noopdisable) { 89 } else if (test->t_test_func == priv_acct_disable || 90 test->t_test_func == priv_acct_rotate) { 100 priv_acct_cleanup(int asroot, int injail, struct test *test) argument 115 priv_acct_enable(int asroot, int injail, struct test *tes argument 131 priv_acct_disable(int asroot, int injail, struct test *test) argument 147 priv_acct_rotate(int asroot, int injail, struct test *test) argument 163 priv_acct_noopdisable(int asroot, int injail, struct test *test) argument [all...] |
H A D | priv_cred.c | 49 priv_cred_setup(int asroot, int injail, struct test *test) argument 56 priv_cred_setuid(int asroot, int injail, struct test *test) argument 72 priv_cred_seteuid(int asroot, int injail, struct test *test) argument 88 priv_cred_setgid(int asroot, int injail, struct test *test) argument 104 priv_cred_setegid(int asroot, int injail, struct test *test) argument 123 priv_cred_setgroups(int asroot, int injail, struct test *test) argument 139 priv_cred_setreuid(int asroot, int injail, struct test *test) argument 155 priv_cred_setregid(int asroot, int injail, struct test *test) argument 171 priv_cred_setresuid(int asroot, int injail, struct test *test) argument 187 priv_cred_setresgid(int asroot, int injail, struct test *test) argument 203 priv_cred_cleanup(int asroot, int injail, struct test *test) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libbluetooth/ |
H A D | t_sdp_data.c | 50 sdp_data_t test = { data, data + sizeof(data) }; local 53 ATF_REQUIRE(sdp_get_data(&test, &value)); 56 ATF_REQUIRE(sdp_get_data(&test, &value)); 59 ATF_CHECK_EQ(test.next, test.end); 90 sdp_data_t test = { data, data + sizeof(data) }; local 93 ATF_REQUIRE(sdp_get_data(&test, &value)); 96 ATF_REQUIRE(sdp_get_data(&test, &value)); 99 ATF_REQUIRE(sdp_get_data(&test, &value)); 102 ATF_REQUIRE(sdp_get_data(&test, [all...] |
H A D | t_sdp_get.c | 58 sdp_data_t test = { data, data + sizeof(data) }; local 63 * the next data element, advancing test if successful 65 ATF_REQUIRE(sdp_get_data(&test, &value)); 69 ATF_REQUIRE(sdp_get_data(&test, &value)); 73 ATF_REQUIRE(sdp_get_data(&test, &value)); 79 ATF_REQUIRE(sdp_get_data(&test, &value)); 83 ATF_CHECK_EQ(test.next, test.end); 105 sdp_data_t test = { data, data + sizeof(data) }; local 111 * and advances test i 152 sdp_data_t test = { data, data + sizeof(data) }; local 215 sdp_data_t test = { data, data + sizeof(data) }; local 278 sdp_data_t test = { data, data + sizeof(data) }; local 388 sdp_data_t test = { data, data + sizeof(data) }; local 475 sdp_data_t test = { data, data + sizeof(data) }; local 515 sdp_data_t test = { data, data + sizeof(data) }; local 558 sdp_data_t test = { data, data + sizeof(data) }; local 603 sdp_data_t test = { data, data + sizeof(data) }; local [all...] |
/freebsd-current/crypto/openssl/test/ |
H A D | hmactest.c | 41 } test[8] = { variable in typeref:struct:test_st 43 "", 0, "More text test vectors to stuff up EBCDIC machines :-)", 54, 66 "", 0, "My test data", 12, 70 "", 0, "My test data", 12, 74 "123456", 6, "My test data", 12, 78 "12345", 5, "My test data again", 18, 92 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); 93 ebcdic2ascii(test[ [all...] |
H A D | cmactest.c | 40 } test[3] = { variable in typeref:struct:test_st 47 "My test data", 58 "My test data", 69 "My test data again", 85 || !TEST_false(CMAC_Update(ctx, test[0].data, test[0].data_len)) 89 || !TEST_false(CMAC_Update(ctx, test[0].data, test[0].data_len)) 91 || !TEST_true(CMAC_Init(ctx, test[0].key, test[ [all...] |
/freebsd-current/tools/regression/sockets/zerosend/ |
H A D | zerosend.c | 47 try_0send(const char *test, int fd) argument 55 err(1, "%s: try_0send", test); 57 errx(1, "%s: try_0send: returned %zd", test, len); 61 try_0write(const char *test, int fd) argument 69 err(1, "%s: try_0write", test); 71 errx(1, "%s: try_0write: returned %zd", test, len); 75 setup_udp(const char *test, int *fdp, int port1, int port2) argument 88 err(1, "%s: setup_udp: socket", test); 90 err(1, "%s: setup_udp: bind(%s, %d)", test, 94 err(1, "%s: setup_udp: connect(%s, %d)", test, 113 setup_tcp(const char *test, int *fdp, int port) argument 184 setup_udsstream(const char *test, int *fdp) argument 192 setup_udsdgram(const char *test, int *fdp) argument 200 setup_pipe(const char *test, int *fdp) argument 208 setup_fifo(const char *test, int *fdp) argument [all...] |
/freebsd-current/tools/regression/pthread/unwind/ |
H A D | main_thread_exit.cpp | 12 Test test; local
|
/freebsd-current/contrib/arm-optimized-routines/string/ |
H A D | Dir.mk | 16 string-test-srcs := $(wildcard $(S)/test/*.c) 26 build/bin/test/memcpy \ 27 build/bin/test/memmove \ 28 build/bin/test/memset \ 29 build/bin/test/memchr \ 30 build/bin/test/memrchr \ 31 build/bin/test/memcmp \ 32 build/bin/test/__mtag_tag_region \ 33 build/bin/test/__mtag_tag_zero_regio [all...] |