Home
last modified time | relevance | path

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

12345678910>>...121

/freebsd-13-stable/tools/regression/doat/
HDdoat.c63 struct testcase tests[10]; /* no more than 10 tests */ member
67 struct test *tests; variable
106 tests = calloc(NUM_OF_TESTS + 1, sizeof(struct test)); in setup()
107 if (tests == NULL) { in setup()
196 tests[0].syscall = SYS_faccessat; in setup()
197 tests[0].num_of_cases = 6; in setup()
198 tests[0].name = "faccessat"; in setup()
199 tests[0].tests[0].result = EBADF; in setup()
200 tests[0].tests[0].params[0].i = 106; /* invalid fd */ in setup()
201 tests[0].tests[0].params[1].cp = relative_path; in setup()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/
HDconfigure.ac197 tests/Makefile
198 tests/runfiles/Makefile
199 tests/test-runner/Makefile
200 tests/test-runner/bin/Makefile
201 tests/test-runner/include/Makefile
202 tests/test-runner/man/Makefile
203 tests/zfs-tests/Makefile
204 tests/zfs-tests/callbacks/Makefile
205 tests/zfs-tests/cmd/Makefile
206 tests/zfs-tests/cmd/badsend/Makefile
[all …]
/freebsd-13-stable/targets/pseudo/tests/
HDMakefile.depend8 bin/cat/tests \
9 bin/chflags/tests \
10 bin/chmod/tests \
11 bin/date/tests \
12 bin/dd/tests \
13 bin/echo/tests \
14 bin/expr/tests \
15 bin/ln/tests \
16 bin/ls/tests \
17 bin/mkdir/tests \
[all …]
/freebsd-13-stable/contrib/bmake/
HDFILES73 unit-tests/Makefile
74 unit-tests/Makefile.config.in
75 unit-tests/archive-suffix.exp
76 unit-tests/archive-suffix.mk
77 unit-tests/archive.exp
78 unit-tests/archive.mk
79 unit-tests/cmd-errors-jobs.exp
80 unit-tests/cmd-errors-jobs.mk
81 unit-tests/cmd-errors-lint.exp
82 unit-tests/cmd-errors-lint.mk
[all …]
/freebsd-13-stable/sys/contrib/openzfs/tests/runfiles/
HDsanity.run11 # This run file contains a subset of functional tests which exercise
13 # quickly. The included tests should take no more than a few seconds
33 [tests/functional/acl/off]
34 tests = ['posixmode']
37 [tests/functional/alloc_class]
38 tests = ['alloc_class_003_pos', 'alloc_class_004_pos', 'alloc_class_005_pos',
43 [tests/functional/arc]
44 tests = ['dbufstats_001_pos', 'dbufstats_002_pos', 'arcstats_runtime_tuning']
47 [tests/functional/bootfs]
48 tests = ['bootfs_004_neg', 'bootfs_007_pos']
[all …]
HDcommon.run11 # This run file contains all of the common functional tests. When
31 [tests/functional/acl/off]
32 tests = ['posixmode']
35 [tests/functional/alloc_class]
36 tests = ['alloc_class_001_pos', 'alloc_class_002_neg', 'alloc_class_003_pos',
43 [tests/functional/arc]
44 tests = ['dbufstats_001_pos', 'dbufstats_002_pos', 'dbufstats_003_pos',
48 [tests/functional/atime]
49 tests = ['atime_001_pos', 'atime_002_neg', 'root_atime_off', 'root_atime_on']
52 [tests/functional/bootfs]
[all …]
HDlinux.run25 [tests/functional/acl/posix:Linux]
26 tests = ['posix_001_pos', 'posix_002_pos', 'posix_003_pos', 'posix_004_pos']
29 [tests/functional/acl/posix-sa:Linux]
30 tests = ['posix_001_pos', 'posix_002_pos', 'posix_003_pos', 'posix_004_pos']
33 [tests/functional/atime:Linux]
34 tests = ['atime_003_pos', 'root_relatime_on']
37 [tests/functional/chattr:Linux]
38 tests = ['chattr_001_pos', 'chattr_002_neg']
41 [tests/functional/checksum:Linux]
42 tests = ['run_edonr_test']
[all …]
/freebsd-13-stable/crypto/heimdal/lib/asn1/
HDcheck-der.c60 struct test_case tests[] = { in test_integer() local
76 int ntests = sizeof(tests) / sizeof(*tests); in test_integer()
79 tests[i].val = &values[i]; in test_integer()
80 if (asprintf (&tests[i].name, "integer %d", values[i]) < 0) in test_integer()
82 if (tests[i].name == NULL) in test_integer()
86 ret = generic_test (tests, ntests, sizeof(int), in test_integer()
95 free (tests[i].name); in test_integer()
186 struct test_case tests[] = { in test_unsigned() local
200 int ntests = sizeof(tests) / sizeof(*tests); in test_unsigned()
203 tests[i].val = &values[i]; in test_unsigned()
[all …]
HDcheck-gen.c98 struct test_case tests[] = { in test_principal() local
123 int ntests = sizeof(tests) / sizeof(*tests); in test_principal()
126 tests[i].val = &values[i]; in test_principal()
127 if (asprintf (&tests[i].name, "Principal %d", i) < 0) in test_principal()
129 if (tests[i].name == NULL) in test_principal()
133 ret = generic_test (tests, ntests, sizeof(Principal), in test_principal()
141 free (tests[i].name); in test_principal()
168 struct test_case tests[] = { in test_authenticator() local
193 int ntests = sizeof(tests) / sizeof(*tests); in test_authenticator()
196 tests[i].val = &values[i]; in test_authenticator()
[all …]
HDcheck-common.c196 generic_test (const struct test_case *tests, in generic_test() argument
221 current_test = tests[i].name; in generic_test()
237 buf_sz = tests[i].byte_len; in generic_test()
242 tests[i].val, &sz); in generic_test()
244 printf ("encoding of %s failed %d\n", tests[i].name, ret); in generic_test()
248 if (sz != tests[i].byte_len) { in generic_test()
250 tests[i].name, in generic_test()
251 (unsigned long)sz, (unsigned long)tests[i].byte_len); in generic_test()
257 length_sz = (*length) (tests[i].val); in generic_test()
260 tests[i].name, (unsigned long)length_sz, (unsigned long)sz); in generic_test()
[all …]
/freebsd-13-stable/contrib/googletest/googletest/test/
HDgtest-unittest-api_test.cc85 TestInfo const** const tests = new const TestInfo*[static_cast<size_t>( in GetSortedTests() local
89 tests[i] = test_suite->GetTestInfo(i); in GetSortedTests()
91 std::sort(tests, tests + test_suite->total_test_count(), in GetSortedTests()
93 return tests; in GetSortedTests()
150 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TEST() local
152 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
153 EXPECT_STREQ("ApiTest", tests[0]->test_suite_name()); in TEST()
154 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST()
155 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST()
156 EXPECT_FALSE(tests[0]->should_run()); in TEST()
[all …]
/freebsd-13-stable/tools/regression/tmpfs/
HDMakefile3 tests= t_mount macro
4 tests+= t_statvfs
5 tests+= t_mkdir
6 tests+= t_vnode_leak
7 tests+= t_setattr
8 tests+= t_rmdir
9 tests+= t_trail_slash
10 tests+= t_dots
11 tests+= t_create
12 tests+= t_remove
[all …]
/freebsd-13-stable/crypto/heimdal/lib/roken/
HDparse_time-test.c45 } tests[] = { variable
62 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) { in main()
65 sz = unparse_time(tests[i].val, NULL, 0); in main()
66 if (sz != tests[i].size) in main()
68 (unsigned long)sz, i, (unsigned long)tests[i].size); in main()
70 for (buf_sz = 0; buf_sz < tests[i].size + 2; buf_sz++) { in main()
74 sz = unparse_time(tests[i].val, buf, buf_sz); in main()
75 if (sz != tests[i].size) in main()
78 (unsigned long)tests[i].size, in main()
80 if (buf_sz > 0 && memcmp(buf, tests[i].str, buf_sz - 1) != 0) in main()
[all …]
HDparse_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 …]
HDstrpftime-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()
240 for (j = 0; tests[i].vals[j].format != NULL; ++j) { in main()
246 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm); in main()
249 tests[i].vals[j].format, (unsigned long)len, in main()
254 if (strcmp (buf, tests[i].vals[j].result) != 0) { 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()
[all …]
/freebsd-13-stable/sys/contrib/libsodium/test/default/
HDpwhash_scrypt.c19 } tests[] = { in tv() local
101 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv()
103 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex, in tv()
104 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv()
106 out, (unsigned long long) tests[i].outlen, passwd, in tv()
107 tests[i].passwdlen, (const unsigned char *) salt, in tv()
108 tests[i].opslimit, tests[i].memlimit) != 0) { in tv()
111 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv()
113 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv()
126 } tests[] = { in tv2() local
[all …]
HDpwhash_argon2i.c20 } tests[] = { in tv() local
89 tests[i].passwd_hex, strlen(tests[i].passwd_hex), NULL, in tv()
91 sodium_hex2bin(salt, sizeof salt, tests[i].salt_hex, in tv()
92 strlen(tests[i].salt_hex), NULL, NULL, NULL); in tv()
93 if (crypto_pwhash(out, (unsigned long long) tests[i].outlen, passwd, in tv()
94 tests[i].passwd_len, (const unsigned char *) salt, in tv()
95 tests[i].opslimit, tests[i].memlimit, in tv()
101 sodium_bin2hex(out_hex, sizeof out_hex, out, tests[i].outlen); in tv()
103 } while (++i < (sizeof tests) / (sizeof tests[0])); in tv()
117 } tests[] = { in tv2() local
[all …]
/freebsd-13-stable/usr.bin/gh-bc/tests/
HDMakefile4 PACKAGE= tests
10 .PATH: ${SRCTOP}/tests
20 FILEStestsDIR= ${TESTSDIR}/tests
21 FILEStests!= echo ${TEST_DIR}/tests/*.py ${TEST_DIR}/tests/*.sh ${TEST_DIR}/tests/*.txt
26 FILESbcDIR= ${TESTSDIR}/tests/bc
27 FILESbc!= echo ${TEST_DIR}/tests/bc/*.*
31 FILESbc_errorsDIR= ${TESTSDIR}/tests/bc/errors
32 FILESbc_errors!= echo ${TEST_DIR}/tests/bc/errors/*.*
36 FILESbc_scriptsDIR= ${TESTSDIR}/tests/bc/scripts
37 FILESbc_scripts!= echo ${TEST_DIR}/tests/bc/scripts/*.*
[all …]
/freebsd-13-stable/sys/contrib/zstd/
HDTESTING.md5 short, medium, and long tests.
9 Short tests run on CircleCI for new commits on every branch and pull request.
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`) on x64_64
18 Medium tests run on every commit and pull request to `dev` branch, on TravisCI.
19 They consist of the following tests:
20 - The following tests run with UBsan and Asan on x86_64 and x86, as well as with
22 - `tests/playTests.sh --test-large-data`
23 - Fuzzer tests: `tests/fuzzer.c`, `tests/zstreamtest.c`, and `tests/decodecorpus.c`
[all …]
/freebsd-13-stable/contrib/atf/atf-c++/
Dmacros.hpp41 class atfu_tc_ ## name : public atf::tests::tc { \
47 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, false) {} \
52 class atfu_tc_ ## name : public atf::tests::tc { \
59 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, false) {} \
64 class atfu_tc_ ## name : public atf::tests::tc { \
72 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, true) {} \
92 #define ATF_FAIL(reason) atf::tests::tc::fail(reason)
94 #define ATF_SKIP(reason) atf::tests::tc::skip(reason)
96 #define ATF_PASS() atf::tests::tc::pass()
104 atf::tests::tc::fail(atfu_ss.str()); \
[all …]
/freebsd-13-stable/contrib/flex/
HDChangeLog54 * tests/Makefile.am, tests/tableopts.am, tests/tableopts.sh: test:
55 …enable more silent building of tests. When running 'make V=0 check', some compile and link steps …
168 * configure.ac, tests/Makefile.am, tests/pthread.l: test: skip
171 returns the "skip" status. configure.ac and tests/Makefile.am are edited so that pthread test
173 …pthread.h and libpthread are detected on the system. Also fix a small typo in tests/pthread.l com…
216 * tests/Makefile.am, tests/no_bison_stub.c: test: Skip bison tests
224tests in testsuite when bison is absent. We don't make any attempt to detect other yacc implement…
240 * tests/Makefile.am: test: Remake *_scanner.c if *_scanner.h is
249 * tests/Makefile.am: test: remove BUILT_SOURCES; add missing
250 dependencies. Without BUILT_SOURCES in Makefile, no test sources in tests/ will be
[all …]
/freebsd-13-stable/lib/libc/tests/stdlib/
HDstrfmon_test.c73 } tests[] = { in ATF_TC_BODY() local
93 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
95 tests[i].format, tests[i].format, tests[i].format); in ATF_TC_BODY()
98 ATF_CHECK_STREQ_MSG(tests[i].expected, actual, in ATF_TC_BODY()
99 "[%s]", tests[i].format); in ATF_TC_BODY()
113 } tests[] = { in ATF_TC_BODY() local
129 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
141 ATF_CHECK_STREQ_MSG(tests[i].expected, actual, in ATF_TC_BODY()
156 } tests[] = { in ATF_TC_BODY() local
172 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
[all …]
/freebsd-13-stable/lib/msun/tests/
HDlogarithm_test.c188 } tests[] = { in ATF_TC_BODY() local
224 for (i = 0; i < nitems(tests); i++) { in ATF_TC_BODY()
225 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
226 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY()
227 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY()
228 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
229 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY()
230 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY()
231 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY()
232 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY()
[all …]
/freebsd-13-stable/contrib/netbsd-tests/crypto/opencrypto/
HDh_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 …]
HDh_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 …]

12345678910>>...121