Home
last modified time | relevance | path

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

12345678910>>...130

/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 …]
/titanic_50/usr/src/test/util-tests/tests/printf/
H A Dprintf_test.ksh45 typeset -A tests=()
48 typeset -A tests[01]=()
49 tests[01][desc]="hexadecimal lowercase"
50 tests[01][format]='%04x'
51 tests[01][args]="255"
52 tests[01][result]="00ff"
54 typeset -A tests[02]=()
55 tests[02][desc]="hexadecimal 32-bit"
56 tests[02][format]='%08x'
57 tests[02][args]='65537'
[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 …]
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-test-zfstest.mf24 dir path=opt/zfs-tests
25 dir path=opt/zfs-tests/bin
26 dir path=opt/zfs-tests/include
27 dir path=opt/zfs-tests/runfiles
28 dir path=opt/zfs-tests/tests
29 dir path=opt/zfs-tests/tests/functional
30 dir path=opt/zfs-tests/tests/functional/acl
31 dir path=opt/zfs-tests/tests/functional/acl/cifs
32 dir path=opt/zfs-tests/tests/functional/acl/nontrivial
33 dir path=opt/zfs-tests/tests/functional/acl/trivial
[all …]
H A Dsystem-test-libctest.mf24 dir path=opt/libc-tests
25 dir path=opt/libc-tests/bin
26 dir path=opt/libc-tests/cfg
27 dir path=opt/libc-tests/cfg/symbols
28 dir path=opt/libc-tests/runfiles
29 dir path=opt/libc-tests/tests
30 dir path=opt/libc-tests/tests/random
31 dir path=opt/libc-tests/tests/symbols
42 file path=opt/libc-tests/README mode=0444
43 file path=opt/libc-tests/bin/libctest mode=0555
[all …]
H A Dsystem-test-utiltest.mf24 dir path=opt/util-tests
25 dir path=opt/util-tests/bin
26 dir path=opt/util-tests/runfiles
27 dir path=opt/util-tests/tests
28 dir path=opt/util-tests/tests/libnvpair_json
29 dir path=opt/util-tests/tests/libsff
30 file path=opt/util-tests/README mode=0444
31 file path=opt/util-tests/bin/print_json mode=0555
32 file path=opt/util-tests/bin/utiltest mode=0555
33 file path=opt/util-tests/runfiles/default.run mode=0444
[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 …]
/titanic_50/usr/src/test/zfs-tests/runfiles/
H A Ddelphix.run27 [/opt/zfs-tests/tests/functional/acl/cifs]
28 tests = ['cifs_attr_001_pos', 'cifs_attr_002_pos', 'cifs_attr_003_pos']
30 [/opt/zfs-tests/tests/functional/acl/nontrivial]
31 tests = ['zfs_acl_chmod_001_neg', 'zfs_acl_chmod_002_pos',
45 [/opt/zfs-tests/tests/functional/acl/trivial]
46 tests = ['zfs_acl_chmod_001_pos', 'zfs_acl_compress_001_pos',
55 [/opt/zfs-tests/tests/functional/atime]
56 tests = ['atime_001_pos', 'atime_002_neg']
58 [/opt/zfs-tests/tests/functional/bootfs]
59 tests = ['bootfs_001_pos', 'bootfs_002_neg', 'bootfs_003_pos',
[all …]
H A Domnios.run27 [/opt/zfs-tests/tests/functional/acl/cifs]
28 tests = ['cifs_attr_001_pos', 'cifs_attr_002_pos', 'cifs_attr_003_pos']
30 [/opt/zfs-tests/tests/functional/acl/nontrivial]
31 tests = ['zfs_acl_chmod_001_neg', 'zfs_acl_chmod_002_pos',
45 [/opt/zfs-tests/tests/functional/acl/trivial]
46 tests = ['zfs_acl_chmod_001_pos', 'zfs_acl_compress_001_pos',
55 [/opt/zfs-tests/tests/functional/atime]
56 tests = ['atime_001_pos', 'atime_002_neg']
58 [/opt/zfs-tests/tests/functional/bootfs]
59 tests = ['bootfs_001_pos', 'bootfs_002_neg', 'bootfs_003_pos',
[all …]
H A Dopenindiana.run27 [/opt/zfs-tests/tests/functional/acl/cifs]
28 tests = ['cifs_attr_001_pos', 'cifs_attr_002_pos', 'cifs_attr_003_pos']
30 [/opt/zfs-tests/tests/functional/acl/nontrivial]
31 tests = ['zfs_acl_chmod_001_neg', 'zfs_acl_chmod_002_pos',
45 [/opt/zfs-tests/tests/functional/acl/trivial]
46 tests = ['zfs_acl_chmod_001_pos', 'zfs_acl_compress_001_pos',
55 [/opt/zfs-tests/tests/functional/atime]
56 tests = ['atime_001_pos', 'atime_002_neg']
58 [/opt/zfs-tests/tests/functional/bootfs]
59 tests = ['bootfs_001_pos', 'bootfs_002_neg', 'bootfs_003_pos',
[all …]
/titanic_50/usr/src/test/libc-tests/runfiles/
H A Ddefault.run25 [/opt/libc-tests/tests/fpround_test]
27 [/opt/libc-tests/tests/newlocale_test]
29 [/opt/libc-tests/tests/nl_langinfo_test]
31 [/opt/libc-tests/tests/wcsrtombs_test]
33 [/opt/libc-tests/tests/wctype_test]
35 [/opt/libc-tests/tests/random/getrandom]
36 [/opt/libc-tests/tests/random/getentropy]
37 [/opt/libc-tests/tests/random/chacha]
38 [/opt/libc-tests/tests/random/inz_child]
39 [/opt/libc-tests/tests/random/inz_inval]
[all …]
/titanic_50/usr/src/lib/libshell/
H A DMakefile.demo81 tests/README.tests \
82 tests/shtests \
83 tests/alias.sh \
84 tests/append.sh \
85 tests/arith.sh \
86 tests/arrays.sh \
87 tests/arrays2.sh \
88 tests/attributes.sh \
89 tests/basic.sh \
90 tests/bracket.sh \
[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...]
/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 …]
/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 …]
/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 …]

12345678910>>...130