/freebsd/tools/regression/doat/ |
H A D | doat.c | 63 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 D | doat.c | 60 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 D | Makefile.depend | 7 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 D | FILES | 73 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/char-005c-reverse-solidus.exp 80 unit-tests/char-005c-reverse-solidus.mk 81 unit-tests/check-expect.lua 82 unit-tests/cmd-errors-jobs.exp [all …]
|
/freebsd/sys/contrib/openzfs/tests/runfiles/ |
H A D | sanity.run | 12 # This run file contains a subset of functional tests which exercise 14 # 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 …]
|
H A D | common.run | 12 # This run file contains all of the common functional tests. When 31 [tests/functional/acl/off] 32 tests = ['dosmode', 'posixmode'] 35 [tests/functional/alloc_class] 36 tests = ['alloc_class_001_pos', 'alloc_class_002_neg', 'alloc_class_003_pos', 43 [tests/functional/append] 44 tests = ['file_append', 'threadsappend_001_pos'] 47 [tests/functional/arc] 48 tests = ['dbufstats_001_pos', 'dbufstats_002_pos', 'dbufstats_003_pos', 52 [tests/functional/atime] [all …]
|
H A D | linux.run | 25 [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/block_cloning:Linux] 38 tests = ['block_cloning_ficlone', 'block_cloning_ficlonerange', 43 [tests/functional/chattr:Linux] 44 tests = ['chattr_001_pos', 'chattr_002_neg'] [all …]
|
/freebsd/contrib/pam-krb5/ |
H A D | Makefile.am | 21 module/pam_krb5.sym tests/README tests/TESTS tests/config/README \ 22 tests/data/cppcheck.supp tests/data/generate-krb5-conf \ 23 tests/data/krb5-pam.conf tests/data/krb5.conf tests/data/perl.conf \ 24 tests/data/scripts tests/data/valgrind.supp \ 25 tests/docs/pod-spelling-t tests/docs/pod-t \ 26 tests/docs/spdx-license-t tests/fakepam/README tests/tap/libtap.sh \ 27 tests/tap/perl/Test/RRA.pm tests/tap/perl/Test/RRA/Automake.pm \ 28 tests/tap/perl/Test/RRA/Config.pm tests/style/obsolete-strings-t \ 29 tests/valgrind/logs-t 88 check_PROGRAMS = tests/runtests tests/module/alt-auth-t \ [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | check-der.c | 60 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 D | check-gen.c | 98 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 D | check-common.c | 196 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/crypto/krb5/src/ccapi/test/ |
H A D | test_ccapi.bat | 4 @echo "\nThese tests are based on the CCAPI v3 revision 8 draft documentation.\n" 9 tests\test_cc_initialize.exe 10 tests\test_cc_context_get_version.exe 13 tests\test_cc_context_release.exe 14 tests\test_cc_context_get_change_time.exe 15 tests\test_cc_context_get_default_ccache_name.exe 16 tests\test_cc_context_open_ccache.exe 17 tests\test_cc_context_open_default_ccache.exe 18 tests\test_cc_context_create_ccache.exe 19 tests\test_cc_context_create_default_ccache.exe [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest-unittest-api_test.cc | 85 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 D | Makefile | 3 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 D | parse_time-test.c | 45 } 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 D | parse_bytes-test.c | 44 } 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 D | strpftime-test.c | 47 } 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 D | pwhash_scrypt.c | 19 } 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/crypto/krb5/src/tests/gssapi/ |
H A D | t_oid.c | 43 } tests[] = { variable 141 for (i = 0; i < sizeof(tests) / sizeof(*tests); i++) { in main() 143 major = gss_oid_to_str(&minor, &tests[i].oid, &buf); in main() 145 if (buf.length != strlen(tests[i].canonical) + 1 || in main() 146 memcmp(buf.value, tests[i].canonical, buf.length) != 0) { in main() 149 (int)buf.length, (char *)buf.value, tests[i].canonical); in main() 154 buf.value = tests[i].canonical; in main() 155 buf.length = strlen(tests[i].canonical); in main() 158 if (!oid_equal(oid, &tests[i].oid)) { in main() 161 tests[i].canonical); in main() [all …]
|
/freebsd/usr.bin/gh-bc/tests/ |
H A D | Makefile | 3 PACKAGE= tests 9 .PATH: ${SRCTOP}/tests 19 FILEStestsDIR= ${TESTSDIR}/tests 20 FILEStests!= echo ${TEST_DIR}/tests/*.py ${TEST_DIR}/tests/*.sed \ 21 ${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 [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/ |
H A D | Makefile.am | 1 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 D | TESTING.md | 5 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/contrib/atf/atf-c++/ |
H A D | macros.hpp | 41 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 D | ChangeLog | 54 * 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 224 …tests 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/contrib/libyaml/ |
H A D | .gitignore | 32 /tests/run-dumper 33 /tests/run-emitter 34 /tests/run-emitter-test-suite 35 /tests/run-loader 36 /tests/run-parser 37 /tests/run-parser-test-suite 38 /tests/run-scanner 39 /tests/example-deconstructor 40 /tests/example-deconstructor-alt 41 /tests/example-reformatter [all …]
|