Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 1924) sorted by relevance

12345678910>>...77

/freebsd-12.1/tools/regression/doat/
H A Ddoat.c221 tests[0].tests[4].result = 0; in setup()
226 tests[0].tests[5].result = 0; in setup()
231 tests[0].tests[6].result = 0; in setup()
256 tests[1].tests[3].result = 0; in setup()
261 tests[1].tests[4].result = 0; in setup()
266 tests[1].tests[5].result = 0; in setup()
294 tests[2].tests[3].result = 0; in setup()
300 tests[2].tests[4].result = 0; in setup()
306 tests[2].tests[5].result = 0; in setup()
360 tests[4].tests[2].result = 0; in setup()
[all …]
/freebsd-12.1/targets/pseudo/tests/
H A DMakefile.depend205 share/examples/tests/tests \
206 share/examples/tests/tests/atf \
208 share/examples/tests/tests/tap \
246 tests/sys/pjdfstest/tests \
248 tests/sys/pjdfstest/tests/chmod \
249 tests/sys/pjdfstest/tests/chown \
252 tests/sys/pjdfstest/tests/link \
253 tests/sys/pjdfstest/tests/mkdir \
255 tests/sys/pjdfstest/tests/mknod \
256 tests/sys/pjdfstest/tests/open \
[all …]
/freebsd-12.1/contrib/bmake/
H A DFILES100 unit-tests/cond1.exp
101 unit-tests/cond1.mk
102 unit-tests/cond2.exp
103 unit-tests/cond2.mk
109 unit-tests/error.mk
122 unit-tests/hash.exp
123 unit-tests/hash.mk
126 unit-tests/misc.exp
127 unit-tests/misc.mk
137 unit-tests/modts.mk
[all …]
/freebsd-12.1/crypto/heimdal/lib/asn1/
H A Dcheck-der.c76 int ntests = sizeof(tests) / sizeof(*tests); in test_integer()
200 int ntests = sizeof(tests) / sizeof(*tests); in test_unsigned()
242 int ntests = sizeof(tests) / sizeof(*tests); in test_octet_string()
284 int ntests = sizeof(tests) / sizeof(*tests); in test_bmp_string()
332 int ntests = sizeof(tests) / sizeof(*tests); in test_universal_string()
412 int ntests = sizeof(tests) / sizeof(*tests); in test_generalized_time()
461 int ntests = sizeof(tests) / sizeof(*tests); in test_oid()
499 int ntests = sizeof(tests) / sizeof(*tests); in test_bit_string()
643 int ntests = sizeof(tests) / sizeof(*tests); in check_fail_unsigned()
656 int ntests = sizeof(tests) / sizeof(*tests); in check_fail_integer()
[all …]
H A Dcheck-gen.c123 int ntests = sizeof(tests) / sizeof(*tests); in test_principal()
193 int ntests = sizeof(tests) / sizeof(*tests); in test_authenticator()
276 int ntests = sizeof(tests) / sizeof(*tests); in test_krb_error()
336 int ntests = sizeof(tests) / sizeof(*tests); in test_Name()
427 int ntests = sizeof(tests) / sizeof(*tests); in test_bit_string()
487 int ntests = sizeof(tests) / sizeof(*tests); in test_bit_string_rfc1510()
539 int ntests = sizeof(tests) / sizeof(*tests); in test_time()
690 int ntests = sizeof(tests) / sizeof(*tests); in test_large_tag()
1083 int ntests = sizeof(tests) / sizeof(*tests); in check_fail_largetag()
1108 int ntests = sizeof(tests) / sizeof(*tests); in check_fail_sequence()
[all …]
H A Dcheck-common.c237 buf_sz = tests[i].byte_len; in generic_test()
242 tests[i].val, &sz); in generic_test()
250 tests[i].name, in generic_test()
266 if (memcmp (buf, tests[i].bytes, tests[i].byte_len) != 0) { in generic_test()
269 print_bytes ((unsigned char *)tests[i].bytes, tests[i].byte_len); in generic_test()
274 rk_dumpdata("correct", tests[i].bytes, tests[i].byte_len); in generic_test()
293 tests[i].name, in generic_test()
390 if (tests[i].byte_len < 0xffffff && tests[i].byte_len >= 0) { in generic_decode_fail()
391 sz = tests[i].byte_len; in generic_decode_fail()
392 bytes = tests[i].bytes; in generic_decode_fail()
[all …]
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc86 TestInfo const** const tests = in GetSortedTests() local
92 std::sort(tests, tests + test_case->total_test_count(), in GetSortedTests()
94 return tests; in GetSortedTests()
169 EXPECT_TRUE(tests[1]->should_run()); in TEST()
175 EXPECT_TRUE(tests[2]->should_run()); in TEST()
181 EXPECT_TRUE(tests[3]->should_run()); in TEST()
183 delete[] tests; in TEST()
184 tests = NULL; in TEST()
205 delete[] tests; in TEST()
311 delete[] tests; in TearDown()
[all …]
/freebsd-12.1/tools/regression/tmpfs/
H A DMakefile4 tests= t_mount macro
5 tests+= t_statvfs
6 tests+= t_mkdir
8 tests+= t_setattr
9 tests+= t_rmdir
11 tests+= t_dots
12 tests+= t_create
14 tests+= t_link
17 tests+= t_exec
19 tests+= t_sizes
[all …]
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Dparse_time-test.c45 } tests[] = { variable
62 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) { in main()
66 if (sz != tests[i].size) in main()
75 if (sz != tests[i].size) in main()
87 NULL, tests[i].size); in main()
88 sz = unparse_time(tests[i].val, buf, min(buf_sz, tests[i].size)); in main()
94 if (buf_sz > 0 && strncmp(buf, tests[i].str, min(buf_sz, tests[i].size) - 1) != 0) in main()
102 tests[i].str, tests[i].size + 1); in main()
104 if (j != tests[i].val) in main()
109 tests[i].str, tests[i].size + 1); in main()
[all …]
H A Dparse_bytes-test.c44 } tests[] = { variable
63 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) { in main()
65 int val = parse_bytes (tests[i].str, tests[i].def_unit); in main()
68 if (val != tests[i].val) { in main()
70 tests[i].str, in main()
71 tests[i].def_unit ? tests[i].def_unit : "none", in main()
72 val, tests[i].val); in main()
75 if (tests[i].canonicalp) { in main()
76 len = unparse_bytes (tests[i].val, buf, sizeof(buf)); in main()
77 if (strcmp (tests[i].str, buf) != 0) { in main()
[all …]
H A Dstrpftime-test.c47 } tests[] = { variable
235 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) { in main()
238 tm = gmtime (&tests[i].t); in main()
256 tests[i].vals[j].format, buf, in main()
257 tests[i].vals[j].result); in main()
262 ptr = strptime (tests[i].vals[j].result, in main()
263 tests[i].vals[j].format, in main()
268 tests[i].vals[j].result, in main()
269 tests[i].vals[j].format); in main()
275 tests[i].vals[j].format, in main()
[all …]
/freebsd-12.1/sys/contrib/libsodium/test/default/
H A Dpwhash_scrypt.c19 } tests[] = { in tv() local
101 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv()
108 tests[i].opslimit, tests[i].memlimit) != 0) { in tv()
113 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv()
126 } tests[] = { in tv2() local
157 tests[i].opslimit, tests[i].memlimit) != 0) { in tv2()
162 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv2()
171 } tests[] = { in tv3() local
284 memcpy(out, tests[i].out, strlen(tests[i].out) + 1U); in tv3()
287 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3()
[all …]
H A Dpwhash_argon2i.c20 } tests[] = { in tv() local
89 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv()
95 tests[i].opslimit, tests[i].memlimit, in tv()
103 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv()
117 } tests[] = { in tv2() local
147 tests[i].opslimit, tests[i].memlimit, in tv2()
154 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv2()
194 } tests[] = { in tv3() local
216 memcpy(out, tests[i].out, strlen(tests[i].out) + 1U); in tv3()
219 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3()
[all …]
H A Dpwhash_argon2id.c20 } tests[] = { in tv() local
89 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv()
95 tests[i].opslimit, tests[i].memlimit, in tv()
103 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv()
117 } tests[] = { in tv2() local
147 tests[i].opslimit, tests[i].memlimit, in tv2()
154 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv2()
190 } tests[] = { in tv3() local
212 memcpy(out, tests[i].out, strlen(tests[i].out) + 1U); in tv3()
215 memcpy(passwd, tests[i].passwd, strlen(tests[i].passwd) + 1U); in tv3()
[all …]
H A Daead_aes256gcm.c12 } tests[] = { variable
3108 tests[i].key_hex, strlen(tests[i].key_hex), in tv()
3112 tests[i].nonce_hex, strlen(tests[i].nonce_hex), in tv()
3114 message_len = strlen(tests[i].message_hex) / 2; in tv()
3117 tests[i].message_hex, strlen(tests[i].message_hex), in tv()
3119 ad_len = strlen(tests[i].ad_hex) / 2; in tv()
3122 tests[i].ad_hex, strlen(tests[i].ad_hex), in tv()
3127 assert(strlen(tests[i].ciphertext_hex) == 2 * message_len); in tv()
3129 tests[i].ciphertext_hex, strlen(tests[i].ciphertext_hex), in tv()
3133 tests[i].mac_hex, strlen(tests[i].mac_hex), in tv()
[all …]
/freebsd-12.1/contrib/expat/
H A DMakefile.in76 check: tests/runtests tests/runtestspp
166 tests/chardata.@OBJEXT@: tests/chardata.c tests/chardata.h
167 tests/minicheck.@OBJEXT@: tests/minicheck.c tests/minicheck.h
168 tests/runtests.@OBJEXT@: tests/runtests.c tests/chardata.h
169 tests/runtests: tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
170 $(LINK_EXE) tests/runtests.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBRARY)
171 tests/runtestspp.@OBJEXT@: tests/runtestspp.cpp tests/runtests.c tests/chardata.h
172 tests/runtestspp: tests/runtestspp.@OBJEXT@ tests/chardata.@OBJEXT@ tests/minicheck.@OBJEXT@ $(LIBR…
186 tests/xmlconf: tests/xmlts.zip
190 tests/xmltest.sh 2>&1 | tee tests/xmltest.log
[all …]
/freebsd-12.1/sys/contrib/zstd/
H A DTESTING.md5 short, medium, and long tests.
10 They consist of the following tests:
13 - `tests/playTests.sh` on x86_64, without the tests on long data (CLI tests)
14 - Small tests (`tests/legacy.c`, `tests/longmatch.c`, `tests/symbols.c`) on x64_64
19 They consist of the following tests:
22 - `tests/playTests.sh --test-long-data`
23 - Fuzzer tests: `tests/fuzzer.c`, `tests/zstreamtest.c`, and `tests/decodecorpus.c`
26 - Fuzzer tests (see above) on ARM, AArch64, PowerPC, and PowerPC64
30 Long tests run on all commits to `master` branch,
33 They consist of the following tests:
[all …]
/freebsd-12.1/contrib/atf/atf-c++/
H A Dmacros.hpp96 #define ATF_PASS() atf::tests::tc::pass()
104 atf::tests::tc::fail(atfu_ss.str()); \
115 atf::tests::tc::fail(atfu_ss.str()); \
131 atf::tests::tc::fail(atfu_ss.str()); \
143 atf::tests::tc::fail(atfu_ss.str()); \
150 atf::tests::tc::fail(atfu_ss.str()); \
155 atf::tests::tc::fail(atfu_ss.str()); \
167 atf::tests::tc::fail(atfu_ss.str()); \
182 atf::tests::tc::fail(atfu_ss.str()); \
187 atf::tests::tc::fail(atfu_ss.str()); \
[all …]
/freebsd-12.1/contrib/googletest/googletest/scripts/
H A Dgen_gtest_pred_impl.py429 tests = (
449 tests += """
464 tests += """
484 tests += """
490 tests += """
508 tests += """
517 tests += """
522 tests += """
532 tests += """
553 tests += """
[all …]
/freebsd-12.1/lib/msun/tests/
H A Dlogarithm_test.c226 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in run_accuracy_tests()
227 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in run_accuracy_tests()
228 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in run_accuracy_tests()
229 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in run_accuracy_tests()
230 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in run_accuracy_tests()
231 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in run_accuracy_tests()
232 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in run_accuracy_tests()
233 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in run_accuracy_tests()
236 test_tol(log1p, tests[i].x - 1, tests[i].logex, in run_accuracy_tests()
238 test_tol(log1pf, tests[i].x - 1, tests[i].logex, in run_accuracy_tests()
[all …]
/freebsd-12.1/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_md5hmac.c49 } tests[] = { variable
150 for (i = 0; i < __arraycount(tests); i++) { in main()
151 if (tests[i].key_len != MD5_HMAC_KEYLEN) in main()
156 cs.mackeylen = tests[i].key_len; in main()
157 cs.mackey = __UNCONST(&tests[i].key); in main()
160 err(1, "CIOCGSESSION test %d", tests[i].num); in main()
166 co.len = tests[i].len; in main()
167 co.src = __UNCONST(&tests[i].data); in main()
171 err(1, "CIOCCRYPT test %d", tests[i].num); in main()
173 if (memcmp(co.mac, tests[i].mac, sizeof(tests[i].mac))) in main()
[all …]
H A Dh_sha1hmac.c49 } tests[] = { variable
160 for (i = 0; i < __arraycount(tests); i++) { in main()
161 if (tests[i].key_len != SHA1_HMAC_KEYLEN) in main()
166 cs.mackeylen = tests[i].key_len; in main()
167 cs.mackey = __UNCONST(&tests[i].key); in main()
170 err(1, "CIOCGSESSION test %d", tests[i].num); in main()
176 co.len = tests[i].len; in main()
177 co.src = __UNCONST(&tests[i].data); in main()
181 err(1, "CIOCCRYPT test %d", tests[i].num); in main()
183 if (memcmp(co.mac, &tests[i].mac, sizeof(tests[i].mac))) in main()
[all …]
/freebsd-12.1/lib/libc/regex/grot/
H A DMakefile68 r: re tests
69 ./re <tests
70 ./re -el <tests
71 ./re -er <tests
73 ra: ./re tests
74 -./re <tests
75 -./re -el <tests
76 -./re -er <tests
78 rx: ./re tests
79 ./re -x <tests
[all …]
/freebsd-12.1/contrib/flex/
H A DChangeLog42 * tests/.cvsignore, tests/.gitignore, tests/TEMPLATE/.cvsignore,
59 tests/test-ccl/.cvsignore, tests/test-ccl/.gitignore,
519 * tests/Makefile.am, tests/descriptions,
1356 tests/Makefile.am, tests/descriptions, tests/test-top/.cvsignore,
3732 * tests/Makefile.am: Added yylineno tests.
3975 tests/Makefile.in, tests/README, tests/TEMPLATE/.cvsignore,
3977 tests/configure.in, tests/create-test, tests/create-test.pl,
4340 * tests/README, tests/TEMPLATE/Makefile.in, tests/configure.in,
4412 tests/README, tests/TEMPLATE/Makefile.in, tests/configure.in,
4580 * tests/Makefile.in, tests/README, tests/TEMPLATE/Makefile.in,
[all …]
/freebsd-12.1/contrib/cortex-strings/
H A DMakefile.am38 tests/test-memchr \
39 tests/test-memcmp \
40 tests/test-memcpy \
41 tests/test-memmove \
42 tests/test-memset \
43 tests/test-strchr \
44 tests/test-strcmp \
45 tests/test-strcpy \
46 tests/test-strlen \
47 tests/test-strncmp \
[all …]

12345678910>>...77