Searched defs:tests (Results 1 - 25 of 104) sorted by relevance

12345

/freebsd-head/crypto/openssh/regress/unittests/hostkeys/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.1 2015/02/16 22:18:34 djm Exp $ */
8 void tests(void);
12 tests(void) function
/freebsd-head/crypto/openssh/regress/unittests/kex/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.1 2015/01/15 23:41:29 markus Exp $ */
11 tests(void) function
/freebsd-head/crypto/openssh/regress/unittests/sshbuf/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.1 2014/04/30 05:32:00 djm Exp $ */
19 tests(void) function
/freebsd-head/crypto/openssh/regress/unittests/sshkey/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.1 2014/06/24 01:14:18 djm Exp $ */
19 tests(void) function
/freebsd-head/crypto/openssh/regress/unittests/conversion/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.1 2017/03/14 01:20:29 dtucker Exp $ */
24 tests(void) function
/freebsd-head/crypto/openssh/regress/unittests/match/
H A Dtests.c1 /* $OpenBSD: tests.c,v 1.5 2018/07/04 13:51:45 djm Exp $ */
24 tests(void) function
/freebsd-head/tools/regression/tmpfs/
H A DMakefile4 tests= t_mount macro
5 tests+= t_statvfs
6 tests+= t_mkdir
7 tests+= t_vnode_leak
8 tests+= t_setattr
9 tests+= t_rmdir
10 tests+= t_trail_slash
11 tests+= t_dots
12 tests+= t_create
13 tests
[all...]
/freebsd-head/contrib/netbsd-tests/lib/libcrypt/
H A Dt_crypt.c75 } tests[] = { variable in typeref:struct:__anon1
126 for (size_t i = 0; tests[i].hash; i++) {
127 char *hash = crypt(tests[i].pw, tests[i].hash);
138 if (strcmp(hash, "*0") == 0 && strlen(tests[i].hash) < 13)
140 if (strcmp(hash, tests[i].hash))
142 i, hash, tests[i].hash);
/freebsd-head/contrib/kyua/bootstrap/
H A Datf_helpers.cpp59 const char* tests = std::getenv("TESTS"); local
60 if (tests == NULL)
63 enabled = tests;
/freebsd-head/contrib/kyua/drivers/
H A Dlist_tests_helpers.cpp84 const char* tests = std::getenv("TESTS"); local
85 if (tests == NULL)
88 enabled = tests;
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dn-fold-test.c41 } tests[] = { variable in typeref:struct:testcase
100 for (t = tests; t->str; ++t) {
/freebsd-head/crypto/heimdal/lib/roken/
H A Dbase64-test.c48 } *t, tests[] = { local
58 for(t = tests; t->data; t++) {
H A Dhex-test.c48 } *t, tests[] = { local
60 for(t = tests; t->data; t++) {
H A Dparse_bytes-test.c44 } tests[] = { variable in typeref:struct:testcase
63 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
65 int val = parse_bytes (tests[i].str, tests[i].def_unit);
68 if (val != tests[i].val) {
70 tests[i].str,
71 tests[i].def_unit ? tests[i].def_unit : "none",
72 val, tests[
[all...]
H A Dparse_reply-test.c53 } tests[] = { variable in typeref:struct:testcase
90 for (i = 0; val == 0 && i < sizeof(tests)/sizeof(tests[0]); ++i) {
91 const struct testcase *t = &tests[i];
H A Dparse_time-test.c45 } tests[] = { variable in typeref:struct:testcase
62 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
65 sz = unparse_time(tests[i].val, NULL, 0);
66 if (sz != tests[i].size)
67 errx(1, "sz (%lu) != tests[%d].size (%lu)",
68 (unsigned long)sz, i, (unsigned long)tests[i].size);
70 for (buf_sz = 0; buf_sz < tests[i].size + 2; buf_sz++) {
74 sz = unparse_time(tests[i].val, buf, buf_sz);
75 if (sz != tests[
[all...]
/freebsd-head/contrib/libarchive/test_utils/
H A Dtest_utils.c32 /* Filter tests against a glob pattern. Returns non-zero if test matches
77 struct test_list_t *tests)
83 /* Default: Run all tests. */
118 const char *name = tests[start].name;
76 get_test_set(int *test_set, int limit, const char *test, struct test_list_t *tests) argument
/freebsd-head/lib/libutil/tests/
H A Dtrimdomain-nodomain_test.c43 int tests = 0; variable
47 * This makes the tests much easier to write and less likely to fail on
68 tests++;
70 printf("not ok %d - %s\n", tests, test);
73 printf("ok %d - %s\n", tests, test);
H A Dtrimdomain_test.c43 int tests = 0; variable
47 * This makes the tests much easier to write and less likely to fail on
68 tests++;
70 printf("not ok %d - %s\n", tests, test);
73 printf("ok %d - %s\n", tests, test);
/freebsd-head/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_aesctr1.c54 } tests[] = { variable in typeref:struct:__anon10
215 for (i = 0; i < __arraycount(tests); i++) {
221 cs.keylen = tests[i].key_len;
222 cs.key = __UNCONST(&tests[i].key);
230 co.len = tests[i].len;
231 co.src = __UNCONST(&tests[i].plaintx);
234 co.iv = __UNCONST(&tests[i].iv);
239 if (memcmp(co.dst, tests[i].ciphertx, tests[i].len)) {
242 for (j = 0; j < tests[
[all...]
H A Dh_md5.c45 } tests[] = { variable in typeref:struct:__anon11
85 for (i = 0; i < __arraycount(tests); i++) {
94 co.len = tests[i].len;
95 co.src = __UNCONST(&tests[i].plaintx);
101 if (memcmp(co.mac, tests[i].digest, sizeof(tests[i].digest)))
H A Dh_md5hmac.c49 } tests[] = { variable in typeref:struct:__anon12
150 for (i = 0; i < __arraycount(tests); i++) {
151 if (tests[i].key_len != MD5_HMAC_KEYLEN)
156 cs.mackeylen = tests[i].key_len;
157 cs.mackey = __UNCONST(&tests[i].key);
160 err(1, "CIOCGSESSION test %d", tests[i].num);
166 co.len = tests[i].len;
167 co.src = __UNCONST(&tests[i].data);
171 err(1, "CIOCCRYPT test %d", tests[i].num);
173 if (memcmp(co.mac, tests[
[all...]
H A Dh_sha1hmac.c49 } tests[] = { variable in typeref:struct:__anon13
160 for (i = 0; i < __arraycount(tests); i++) {
161 if (tests[i].key_len != SHA1_HMAC_KEYLEN)
166 cs.mackeylen = tests[i].key_len;
167 cs.mackey = __UNCONST(&tests[i].key);
170 err(1, "CIOCGSESSION test %d", tests[i].num);
176 co.len = tests[i].len;
177 co.src = __UNCONST(&tests[i].data);
181 err(1, "CIOCCRYPT test %d", tests[i].num);
183 if (memcmp(co.mac, &tests[
[all...]
H A Dh_xcbcmac.c55 } tests[] = { variable in typeref:struct:__anon14
92 for (i = 0; i < __arraycount(tests); i++) {
95 if (tests[i].len == sizeof(plaintx))
99 co.len = tests[i].len;
105 if (memcmp(buf, &tests[i].mac, sizeof(tests[i].mac)))
/freebsd-head/contrib/atf/atf-c++/detail/
H A Dtest_helpers.hpp66 namespace tests { namespace in namespace:atf
73 bool build_check_cxx_o_srcdir(const atf::tests::tc&, const char*);
74 atf::fs::path get_process_helpers_path(const atf::tests::tc&, bool);
77 const atf::tests::vars_map& m_config;
79 run_h_tc_data(const atf::tests::vars_map& config) :
97 run_h_tc(atf::tests::vars_map config = atf::tests::vars_map())

Completed in 114 milliseconds

12345