Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 2083) sorted by relevance

12345678910>>...84

/freebsd/tools/regression/priv/
H A Dmain.h59 struct test { struct
62 struct test *test); argument
64 struct test *test);
66 struct test *test); argument
74 int priv_acct_setup(int, int, struct test *);
75 void priv_acct_enable(int, int, struct test *);
107 int priv_cred_setup(int, int, struct test *);
119 int priv_io_setup(int, int, struct test *);
120 void priv_io(int, int, struct test *);
124 void priv_kenv_set(int, int, struct test *);
[all …]
H A Dpriv_netinet_ipsec.c54 struct test *test, int af) in priv_netinet_ipsec_policy_bypass_setup_af() argument
88 struct test *test) in priv_netinet_ipsec_policy4_bypass_setup() argument
98 struct test *test) in priv_netinet_ipsec_policy6_bypass_setup() argument
109 struct test *test, int af) in priv_netinet_ipsec_policy_entrust_setup_af() argument
143 struct test *test) in priv_netinet_ipsec_policy4_entrust_setup() argument
153 struct test *test) in priv_netinet_ipsec_policy6_entrust_setup() argument
162 priv_netinet_ipsec_pfkey(int asroot, int injail, struct test *test) in priv_netinet_ipsec_pfkey() argument
230 priv_netinet_ipsec_policy4_bypass(int asroot, int injail, struct test *test) in priv_netinet_ipsec_policy4_bypass() argument
238 priv_netinet_ipsec_policy6_bypass(int asroot, int injail, struct test *test) in priv_netinet_ipsec_policy6_bypass() argument
300 struct test *test) in priv_netinet_ipsec_policy_bypass_cleanup() argument
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dinclude.am16 test/test.sh
23 test/test-changelist \
24 test/test-dumpevents \
25 test/test-eof \
26 test/test-closed \
27 test/test-fdleak \
28 test/test-init \
29 test/test-ratelim \
30 test/test-time \
31 test/test-weof \
[all …]
/freebsd/contrib/libevent/test/
H A Dinclude.am16 test/test.sh
23 test/test-changelist \
24 test/test-dumpevents \
25 test/test-eof \
26 test/test-closed \
27 test/test-fdleak \
28 test/test-init \
29 test/test-ratelim \
30 test/test-time \
31 test/test-weof \
[all …]
/freebsd/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_put.c58 test.end = test.next; in ATF_TC_BODY()
92 test.end = test.next; in ATF_TC_BODY()
144 test.end = test.next; in ATF_TC_BODY()
176 test.end = test.next; in ATF_TC_BODY()
201 test.end = test.next; in ATF_TC_BODY()
235 test.end = test.next; in ATF_TC_BODY()
265 test.end = test.next; in ATF_TC_BODY()
298 test.end = test.next; in ATF_TC_BODY()
337 test.end = test.next; in ATF_TC_BODY()
366 test.end = test.next; in ATF_TC_BODY()
[all …]
H A Dt_sdp_set.c57 ATF_REQUIRE(sdp_set_bool(&test, true)); in ATF_TC_BODY()
58 ATF_CHECK_EQ(test.next[1], 0x01); in ATF_TC_BODY()
59 ATF_REQUIRE(sdp_set_bool(&test, false)); in ATF_TC_BODY()
60 ATF_CHECK_EQ(test.next[1], 0x00); in ATF_TC_BODY()
181 ATF_REQUIRE(sdp_set_int(&test, -1)); in ATF_TC_BODY()
190 ATF_REQUIRE(sdp_set_int(&test, 789)); in ATF_TC_BODY()
254 ATF_REQUIRE(sdp_set_seq(&test, 0)); in ATF_TC_BODY()
264 ATF_REQUIRE(sdp_set_seq(&test, 3)); in ATF_TC_BODY()
269 ATF_REQUIRE(sdp_set_seq(&test, 0)); in ATF_TC_BODY()
313 ATF_REQUIRE(sdp_set_alt(&test, 0)); in ATF_TC_BODY()
[all …]
H A Dt_sdp_get.c65 ATF_REQUIRE(sdp_get_data(&test, &value)); in ATF_TC_BODY()
83 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
128 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
197 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
233 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
326 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
455 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
495 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
535 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
580 ATF_CHECK_EQ(test.next, test.end); in ATF_TC_BODY()
[all …]
/freebsd/tests/sys/file/
H A Ddup_test.c102 ++test; in main()
110 ++test; in main()
148 ++test; in main()
157 ++test; in main()
173 ++test; in main()
181 ++test; in main()
195 ++test; in main()
205 ++test; in main()
220 ++test; in main()
231 ++test; in main()
[all …]
/freebsd/sys/contrib/libsodium/
H A D.gitignore78 test-driver
81 test/default/*.res
82 test/default/*.trs
86 test/default/auth
92 test/default/box
93 test/default/box2
94 test/default/box7
95 test/default/box8
115 test/default/kdf
117 test/default/kx
[all …]
/freebsd/contrib/byacc/
H A DMANIFEST415 test/btyacc_destroy1.y btyacc test-case for %parse-param
416 test/btyacc_destroy2.y btyacc test-case for %parse-param
417 test/btyacc_destroy3.y btyacc test-case for %parse-param
424 test/calc_code_imports.y test-case for "%code imports"
425 test/calc_code_provides.y test-case for "%code provides"
426 test/calc_code_requires.y test-case for "%code requires"
427 test/calc_code_top.y test-case for "%code top"
429 test/code_debug.y test-input, for -i, -o, -d options
469 test/expr.oxout.y test-case for "#line" feature
482 test/run_make.sh do a test-compile of each ".c" file in the test-directory
[all …]
H A DCHANGES4031 * test/calc.error, test/calc1.error, test/calc2.error, test/calc3.error,
4167 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4224 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4280 * test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c,
4454 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y:
4702 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y,
4703 test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y,
4774 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y,
4882 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h:
4922 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c,
[all …]
/freebsd/sys/dev/ioat/
H A Dioat_test.c88 test = tx->test; in ioat_test_transaction_destroy()
152 test = tx->test; in ioat_compare_ok()
187 test = tx->test; in ioat_dma_test_callback()
218 tx->test = test; in ioat_test_prealloc_memory()
366 test = arg; in ioat_dma_test()
390 if (btoc((uint64_t)test->buffer_size * test->chain_depth * in ioat_dma_test()
450 test->raw_vtarget = (void *)test->raw_target; in ioat_dma_test()
451 test->raw_target = vtophys(test->raw_vtarget); in ioat_dma_test()
453 test->raw_vtarget = pmap_mapdev(test->raw_target, in ioat_dma_test()
480 if (test->duration == 0 && loops >= test->transactions) in ioat_dma_test()
[all …]
/freebsd/tools/regression/netinet/ipdivert/
H A Dipdivert.c50 ok(const char *test) in ok() argument
79 fail(test, "socket"); in ipdivert_create()
88 fail(test, "close"); in ipdivert_close()
105 fail(test, "bind"); in ipdivert_bind()
107 fail(test, "bind"); in ipdivert_bind()
110 failx(test, "bind"); in ipdivert_bind()
117 const char *test; in main() local
126 ok(test); in main()
135 ok(test); in main()
148 ok(test); in main()
[all …]
/freebsd/contrib/atf/atf-c/
H A Dbuild_test.c155 struct c_o_test *test; in ATF_TC_BODY() local
157 for (test = c_o_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
167 RE(atf_build_c_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
170 RE(atf_build_c_o(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
184 struct cpp_test *test; in ATF_TC_BODY() local
186 for (test = cpp_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
195 RE(atf_build_cpp(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
198 RE(atf_build_cpp(test->sfile, test->ofile, NULL, &argv)); in ATF_TC_BODY()
214 for (test = cxx_o_tests; test->expargv[0] != NULL; test++) { in ATF_TC_BODY()
224 RE(atf_build_cxx_o(test->sfile, test->ofile, test->optargs, in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssl/test/
H A Dgenerate_ssl_tests.pl54 foreach my $test (@ssltests::tests) {
55 $test->{"server"} = { (%ssltests::base_server, %{$test->{"server"}}) };
56 if (defined $test->{"server2"}) {
57 $test->{"server2"} = { (%ssltests::base_server, %{$test->{"server2"}}) };
65 $test->{"server2"} = { };
68 $test->{"resume_server"} = { (%ssltests::base_server, %{$test->{"resume_server"}}) };
76 $test->{"resume_server"} = { };
78 $test->{"client"} = { (%ssltests::base_client, %{$test->{"client"}}) };
80 $test->{"resume_client"} = { (%ssltests::base_client, %{$test->{"resume_client"}}) };
116 foreach my $test (@ssltests::tests) {
[all …]
H A Dhmactest.c41 } test[8] = { variable
92 ebcdic2ascii(test[0].data, test[0].data, test[0].data_len); in test_hmac_md5()
93 ebcdic2ascii(test[1].data, test[1].data, test[1].data_len); in test_hmac_md5()
94 ebcdic2ascii(test[2].key, test[2].key, test[2].key_len); in test_hmac_md5()
95 ebcdic2ascii(test[2].data, test[2].data, test[2].data_len); in test_hmac_md5()
99 test[idx].key, test[idx].key_len, in test_hmac_md5()
100 test[idx].data, test[idx].data_len, NULL, NULL), in test_hmac_md5()
116 || !TEST_false(HMAC_Update(ctx, test[4].data, test[4].data_len)) in test_hmac_bad()
147 || !TEST_true(HMAC_Update(ctx, test[4].data, test[4].data_len)) in test_hmac_run()
160 || !TEST_true(HMAC_Update(ctx, test[5].data, test[5].data_len)) in test_hmac_run()
[all …]
H A Dcmactest.c40 } test[3] = { variable
85 || !TEST_false(CMAC_Update(ctx, test[0].data, test[0].data_len)) in test_cmac_bad()
89 || !TEST_false(CMAC_Update(ctx, test[0].data, test[0].data_len)) in test_cmac_bad()
93 || !TEST_true(CMAC_Update(ctx, test[0].data, test[0].data_len)) in test_cmac_bad()
116 if (!TEST_true(CMAC_Init(ctx, test[0].key, test[0].key_len, in test_cmac_run()
118 || !TEST_true(CMAC_Update(ctx, test[0].data, test[0].data_len)) in test_cmac_run()
126 if (!TEST_true(CMAC_Init(ctx, test[1].key, test[1].key_len, in test_cmac_run()
128 || !TEST_true(CMAC_Update(ctx, test[1].data, test[1].data_len)) in test_cmac_run()
137 || !TEST_true(CMAC_Update(ctx, test[2].data, test[2].data_len)) in test_cmac_run()
145 || !TEST_true(CMAC_Update(ctx, test[2].data, test[2].data_len)) in test_cmac_run()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/pid/
H A Dtst.br.d.out1 test:entry
2 test:0
3 test:4
4 test:8
5 test:c
6 test:10
7 test:14
8 test:18
9 test:1c
10 test:20
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dbuild.info80 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
98 SOURCE[asn1-test]=asn1.c test-corpus.c fuzz_rand.c
102 SOURCE[asn1parse-test]=asn1parse.c test-corpus.c
106 SOURCE[bignum-test]=bignum.c test-corpus.c
110 SOURCE[bndiv-test]=bndiv.c test-corpus.c
118 SOURCE[cmp-test]=cmp.c test-corpus.c fuzz_rand.c
123 SOURCE[cms-test]=cms.c test-corpus.c
127 SOURCE[conf-test]=conf.c test-corpus.c
131 SOURCE[crl-test]=crl.c test-corpus.c
135 SOURCE[ct-test]=ct.c test-corpus.c
[all …]
/freebsd/lib/msun/tests/
H A Dlrint_test.c43 #define test(func, x, result, excepts) do { \ macro
54 test(lrint, x, result, excepts); \
55 test(lrintf, x, result, excepts); \
56 test(lrintl, x, result, excepts); \
57 test(llrint, x, result, excepts); \
58 test(llrintf, x, result, excepts); \
59 test(llrintl, x, result, excepts); \
86 test(lrint, 0x7fffffff.8p0, IGNORE, FE_INVALID); in run_tests()
91 test(lrint, 0x80000000.0p0, IGNORE, FE_INVALID); in run_tests()
94 test(lrintf, 0x7fffff80.0p0f, 0x7fffff80l, 0); in run_tests()
[all …]
H A Dlround_test.c41 #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); in ATF_TC_BODY()
80 test(lround, -0x80000000.8p0, IGNORE, FE_INVALID); in ATF_TC_BODY()
81 test(lround, 0x80000000.0p0, IGNORE, FE_INVALID); in ATF_TC_BODY()
82 test(lround, 0x7fffffff.4p0, 0x7fffffffl, FE_INEXACT); in ATF_TC_BODY()
84 test(lroundf, 0x80000000.0p0f, IGNORE, FE_INVALID); in ATF_TC_BODY()
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-shuffle-test.py120 for test in tests:
249 self.assertTrue(test in ALL_TESTS, '%s is an invalid test' % (test,))
251 self.assertTrue(test in ACTIVE_TESTS, '%s is an invalid test' % (test,))
253 self.assertTrue(test in FILTERED_TESTS, '%s is an invalid test' % (test,))
255 self.assertTrue(test in SHARDED_TESTS, '%s is an invalid test' % (test,))
258 for test in ALL_TESTS:
259 self.assertTrue(test in SHUFFLED_ALL_TESTS, '%s is missing' % (test,))
261 self.assertTrue(test in SHUFFLED_ACTIVE_TESTS, '%s is missing' % (test,))
264 test in SHUFFLED_FILTERED_TESTS, '%s is missing' % (test,)
267 self.assertTrue(test in SHUFFLED_SHARDED_TESTS, '%s is missing' % (test,))
[all …]
/freebsd/contrib/atf/atf-c++/
H A Dbuild_test.cpp155 for (struct c_o_test* test = c_o_tests; test->expargv[0] != NULL; in ATF_TEST_CASE_BODY() local
156 test++) { in ATF_TEST_CASE_BODY()
164 atf::build::c_o(test->sfile, test->ofile, in ATF_TEST_CASE_BODY()
166 check_equal_argvs(argv, test->expargv); in ATF_TEST_CASE_BODY()
177 for (struct cpp_test* test = cpp_tests; test->expargv[0] != NULL; in ATF_TEST_CASE_BODY() local
178 test++) { in ATF_TEST_CASE_BODY()
185 atf::build::cpp(test->sfile, test->ofile, in ATF_TEST_CASE_BODY()
187 check_equal_argvs(argv, test->expargv); in ATF_TEST_CASE_BODY()
198 for (struct cxx_o_test* test = cxx_o_tests; test->expargv[0] != NULL; in ATF_TEST_CASE_BODY() local
199 test++) { in ATF_TEST_CASE_BODY()
[all …]
/freebsd/tools/regression/sockets/zerosend/
H A Dzerosend.c47 try_0send(const char *test, int fd) in try_0send() argument
55 err(1, "%s: try_0send", test); in try_0send()
61 try_0write(const char *test, int fd) in try_0write() argument
69 err(1, "%s: try_0write", test); in try_0write()
88 err(1, "%s: setup_udp: socket", test); in setup_udp()
136 err(1, "%s: listen", test); in setup_tcp()
157 err(1, "%s: sleep(1)", test); in setup_tcp()
160 err(1, "%s: accept", test); in setup_tcp()
162 err(1, "%s: sleep(1)", test); in setup_tcp()
200 setup_pipe(const char *test, int *fdp) in setup_pipe() argument
[all …]
/freebsd/crypto/openssh/openbsd-compat/regress/
H A Dstrtonumtest.c62 test("1", 0, 10, 1); in main()
63 test("0", -2, 5, 1); in main()
64 test("0", 2, 5, 0); in main()
65 test("0", 2, LLONG_MAX, 0); in main()
66 test("-2", 0, LLONG_MAX, 0); in main()
67 test("0", -5, LLONG_MAX, 1); in main()
68 test("-3", -3, LLONG_MAX, 1); in main()
75 test("-2", 10, -1, 0); in main()
76 test("-2", -10, -1, 1); in main()
77 test("-20", -10, -1, 0); in main()
[all …]

12345678910>>...84