Home
last modified time | relevance | path

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

12345678910>>...90

/freebsd/tools/regression/doat/
H A Ddoat.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/tools/test/stress2/testcases/openat/
H A Ddoat.c60 struct testcase tests[10]; // no more than 10 tests member
64 struct test *tests; variable
101 tests = calloc(NUM_OF_TESTS, sizeof(struct test)); in setup()
102 if (tests == NULL) { in setup()
193 tests[0].syscall = SYS_faccessat; in setup()
194 tests[0].num_of_cases = 6; in setup()
195 tests[0].name = "faccessat"; in setup()
196 tests[0].tests[0].result = EBADF; in setup()
197 tests[0].tests[0].params[0].i = 106; // invalid fd in setup()
198 tests[0].tests[0].params[1].cp = relative_path; in setup()
[all …]
/freebsd/targets/pseudo/tests/
H A DMakefile.depend7 bin/cat/tests \
8 bin/chflags/tests \
9 bin/chmod/tests \
10 bin/date/tests \
11 bin/dd/tests \
12 bin/echo/tests \
13 bin/expr/tests \
14 bin/ln/tests \
15 bin/ls/tests \
16 bin/mkdir/tests \
[all …]
/freebsd/contrib/bmake/
H A DFILES73 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/sys/contrib/openzfs/tests/runfiles/
H A Dsanity.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
32 [tests/functional/acl/off]
33 tests = ['posixmode']
36 [tests/functional/alloc_class]
37 tests = ['alloc_class_003_pos', 'alloc_class_004_pos', 'alloc_class_005_pos',
42 [tests/functional/arc]
43 tests = ['dbufstats_001_pos', 'dbufstats_002_pos', 'arcstats_runtime_tuning']
46 [tests/functional/bootfs]
47 tests = ['bootfs_004_neg', 'bootfs_007_pos']
[all …]
H A Dcommon.run11 # This run file contains all of the common functional tests. When
30 [tests/functional/acl/off]
31 tests = ['dosmode', 'posixmode']
34 [tests/functional/alloc_class]
35 tests = ['alloc_class_001_pos', 'alloc_class_002_neg', 'alloc_class_003_pos',
42 [tests/functional/append]
43 tests = ['file_append', 'threadsappend_001_pos']
46 [tests/functional/arc]
47 tests = ['dbufstats_001_pos', 'dbufstats_002_pos', 'dbufstats_003_pos',
51 [tests/functional/atime]
[all …]
H A Dlinux.run24 [tests/functional/acl/posix:Linux]
25 tests = ['posix_001_pos', 'posix_002_pos', 'posix_003_pos', 'posix_004_pos']
28 [tests/functional/acl/posix-sa:Linux]
29 tests = ['posix_001_pos', 'posix_002_pos', 'posix_003_pos', 'posix_004_pos']
32 [tests/functional/atime:Linux]
33 tests = ['atime_003_pos', 'root_relatime_on']
36 [tests/functional/block_cloning:Linux]
37 tests = ['block_cloning_ficlone', 'block_cloning_ficlonerange',
42 [tests/functional/chattr:Linux]
43 tests = ['chattr_001_pos', 'chattr_002_neg']
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dcheck-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 …]
H A Dcheck-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) / sizeo in test_authenticator()
263 struct test_case tests[] = { test_krb_error() local
321 struct test_case tests[] = { test_Name() local
408 struct test_case tests[] = { test_bit_string() local
468 struct test_case tests[] = { test_bit_string_rfc1510() local
528 struct test_case tests[] = { test_time() local
686 struct test_case tests[] = { test_large_tag() local
776 struct test_case tests[] = { test_choice() local
845 struct test_case tests[] = { test_implicit() local
923 struct test_case tests[] = { test_taglessalloc() local
1006 struct test_case tests[] = { test_optional() local
1056 struct test_case tests[] = { check_fail_largetag() local
1093 struct test_case tests[] = { check_fail_sequence() local
1117 struct test_case tests[] = { check_fail_choice() local
[all...]
H A Dcheck-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/contrib/googletest/googletest/test/
H A Dgtest-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/tools/regression/tmpfs/
H A DMakefile3 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/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()
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 …]
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()
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/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()
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 …]
H A Dpwhash_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/sys/contrib/openzfs/tests/zfs-tests/
H A DMakefile.am1 SUBDIRS += %D%/tests
6 scripts_zfs_tests_functional_libzfsdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/libzfs
7 scripts_zfs_tests_functional_libzfs_PROGRAMS = %D%/tests/functional/libzfs/many_fds
11 scripts_zfs_tests_functional_hkdfdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/hkdf
12 scripts_zfs_tests_functional_hkdf_PROGRAMS = %D%/tests/functional/hkdf/hkdf_test
16 scripts_zfs_tests_functional_vdev_diskdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/vdev_disk
17 scripts_zfs_tests_functional_vdev_disk_PROGRAMS = %D%/tests/functiona
[all...]
/freebsd/sys/contrib/zstd/
H A DTESTING.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/usr.bin/gh-bc/tests/
H A DMakefile3 PACKAGE= tests
9 .PATH: ${SRCTOP}/tests
19 FILEStestsDIR= ${TESTSDIR}/tests
20 FILEStests!= echo ${TEST_DIR}/tests/*.py ${TEST_DIR}/tests/*.sh ${TEST_DIR}/tests/*.txt
25 FILESbcDIR= ${TESTSDIR}/tests/bc
26 FILESbc!= echo ${TEST_DIR}/tests/bc/*.*
30 FILESbc_errorsDIR= ${TESTSDIR}/tests/bc/errors
31 FILESbc_errors!= echo ${TEST_DIR}/tests/bc/errors/*.*
35 FILESbc_scriptsDIR= ${TESTSDIR}/tests/bc/scripts
36 FILESbc_scripts!= echo ${TEST_DIR}/tests/bc/scripts/*.*
[all …]
/freebsd/contrib/atf/atf-c++/
H A 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/contrib/flex/
H A DChangeLog54 * 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/lib/libc/tests/stdlib/
H A Dstrfmon_test.c72 } tests[] = { in ATF_TC_BODY() local
92 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
94 tests[i].format, tests[i].format, tests[i].format); in ATF_TC_BODY()
97 ATF_CHECK_STREQ_MSG(tests[i].expected, actual, in ATF_TC_BODY()
98 "[%s]", tests[i].format); in ATF_TC_BODY()
112 } tests[] = { in ATF_TC_BODY() local
128 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
140 ATF_CHECK_STREQ_MSG(tests[i].expected, actual, in ATF_TC_BODY()
155 } tests[] = { in ATF_TC_BODY() local
171 for (i = 0; i < nitems(tests); ++i) { in ATF_TC_BODY()
[all …]
/freebsd/lib/msun/tests/
H A Dlogarithm_test.c187 } tests[] = { in ATF_TC_BODY() local
223 for (i = 0; i < nitems(tests); i++) { in ATF_TC_BODY()
224 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
225 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY()
226 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY()
227 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
228 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY()
229 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY()
230 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY()
231 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY()
[all …]
/freebsd/crypto/openssl/test/recipes/
H A D20-test_dhparam.t22 plan tests => 21;
91 plan tests => 4;
95 plan tests => 4;
99 plan tests => 4;
103 plan tests => 4;
107 plan tests => 4;
111 plan tests => 4;
115 plan tests => 4;
125 plan tests => 5;
131 plan tests => 5;
[all …]

12345678910>>...90