Home
last modified time | relevance | path

Searched full:tests (Results 1 – 25 of 3383) sorted by relevance

12345678910>>...136

/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/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/usr.bin/bmake/unit-tests/
H A DMakefile8 # Unit tests for make(1)
13 # run all the tests
27 # Each feature should get its own set of tests in its own suitably
29 # and it should be added to the TESTS list.
38 # for many tests we need a TMPDIR that will not collide
61 # src/tests/usr.bin/make/t_make.sh as well.
62 #TESTS+= archive
63 #TESTS+= archive-suffix
64 TESTS+= cmd-errors
65 TESTS
536 .warning Skipping broken tests: ${BROKEN_TESTS:O:u} global() target
537 TESTS:= ${TESTS:${BROKEN_TESTS:S,^,N,:ts:}} global() macro
[all...]
/freebsd/contrib/bmake/unit-tests/
H A DMakefile5 # Unit tests for make(1)
10 # run all the tests
24 # Each feature should get its own set of tests in its own suitably
26 # and it should be added to the TESTS list.
35 # for many tests we need a TMPDIR that will not collide
58 # src/tests/usr.bin/make/t_make.sh as well.
59 #TESTS+= archive
60 #TESTS+= archive-suffix
61 TESTS+= cmd-errors
62 TESTS+= cmd-errors-jobs
[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/openssl/test/
H A DREADME.md1 Using OpenSSL Tests
11 **Warning:** you MUST run the tests from an unprivileged account
14 If some tests fail, take a look at the section Test Failures below.
19 If some tests fail, look at the output. There may be reasons for the failure
30 Verbosity on failed (sub-)tests only
35 Verbosity on failed (sub-)tests, in addition progress on succeeded (sub-)tests
40 If you want to run just one or a few specific tests, you can use
41 the make variable TESTS to specify them, like this:
43 $ make TESTS='test_rsa test_dsa' test # Unix
44 $ mms/macro="TESTS=test_rsa test_dsa" test ! OpenVMS
[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/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/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 …]
/freebsd/contrib/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc32 // This file contains tests verifying correctness of data provided via
81 // Returns the array of pointers to all tests in a particular test suite
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()
105 // We can only test the accessors that do not change value while tests run.
106 // Since tests can be run in any order, the values the accessors that track
150 const TestInfo** tests = UnitTestHelper::GetSortedTests(test_suite); in TEST() local
152 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
[all …]
H A Dgtest_pred_impl_unittest.cc33 // learn how Google Test works by reading its unit tests, read
109 // Tests for {EXPECT|ASSERT}_PRED_FORMAT1.
152 // Tests a successful EXPECT_PRED1 where the
159 // Tests a successful EXPECT_PRED1 where the
166 // Tests a successful EXPECT_PRED1 where the
173 // Tests a successful EXPECT_PRED1 where the
180 // Tests a failed EXPECT_PRED1 where the
191 // Tests a failed EXPECT_PRED1 where the
202 // Tests a failed EXPECT_PRED1 where the
213 // Tests a failed EXPECT_PRED1 where the
[all …]
/freebsd/sys/contrib/zstd/
H A DTESTING.md5 short, medium, and long tests.
7 Short 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
16 Medium Tests
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
[all …]
/freebsd/sys/contrib/openzfs/tests/
H A DREADME.md32 the zfs-tests.sh script will construct three loopback devices to
46 Once the pre-requisites are satisfied simply run the zfs-tests.sh script:
48 $ /usr/share/zfs/zfs-tests.sh
50 Alternately, the zfs-tests.sh script can be run from the source tree to allow
57 $ ./scripts/zfs-tests.sh
59 The following zfs-tests.sh options are supported:
61 -v Verbose zfs-tests.sh output When specified additional
68 console only for tests that do not pass and the results
80 zfs-tests.sh script will not perform any additional cleanup
85 the testing. When running in this mode certain tests will
[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()
67 errx(1, "sz (%lu) != tests[%d].size (%lu)", 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()
76 errx(1, "sz (%lu) != tests[%d].size (%lu) with in size %lu", in main()
[all …]
/freebsd/sys/contrib/openzfs/man/man1/
H A Dtest-runner.119 .Nd find, execute, and log the results of tests
72 The tests are then executed, and the results are logged.
77 finds tests in the manner described above.
78 Rather than executing the tests and logging the results, the test configuration
82 to modify which tests are executed and which options are applied.
93 which can specify a series of tests and test groups to be executed.
94 The tests are then executed, and the results are logged.
101 apply to individual tests in the group.
103 tests as a group.
107 The specified tests run serially, and are typically assigned results according
[all …]
/freebsd/share/man/man7/
H A Dtests.71 .\" $NetBSD: tests.kyua.7,v 1.2 2013/07/20 21:39:59 wiz Exp $
32 .Nm tests
39 Test Suite provides a collection of automated tests for two major purposes.
55 .Pa /usr/tests
60 For information on writing the tests, see
64 .Pa /usr/tests
76 .Ss When to run the tests?
99 .Ss Running the tests
102 $ kyua test -k /usr/tests/Kyuafile
106 .Pa /usr/tests
[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/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/tests/
H A DREADME1 src/tests: The FreeBSD test suite
5 (1) Run the tests:
6 kyua test -k /usr/tests/Kyuafile
10 For further information on using the test suite, read tests(7):
11 man tests
21 * The goal for /usr/tests/ (the installed test programs) is to follow
24 discoverability of tests. We want a mapping such as:
26 /usr/src/bin/cp/ -> /usr/tests/bin/cp/
27 /usr/src/lib/libc/ -> /usr/tests/lib/libc/
28 /usr/src/usr.bin/cut/ -> /usr/tests/usr.bin/cut/
[all …]
/freebsd/contrib/googletest/docs/
H A Dprimer.md5 *GoogleTest* helps you write better C++ tests.
10 supports *any* kind of tests, not just unit tests.
14 1. Tests should be *independent* and *repeatable*. It's a pain to debug a test
15 that succeeds or fails as a result of other tests. GoogleTest isolates the
16 tests by running each of them on a different object. When a test fails,
18 2. Tests should be well *organized* and reflect the structure of the tested
19 code. GoogleTest groups related tests into test suites that can share data
20 and subroutines. This common pattern is easy to recognize and makes tests
23 3. Tests should be *portable* and *reusable*. Google has a lot of code that is
24 platform-neutral; its tests should also be platform-neutral. GoogleTest
[all …]
/freebsd/share/examples/tests/
H A DREADME14 * tests/: Regular directory containing the tests code. Note that the
15 apparently-redundant tests/tests/ path component here is expected for
17 /usr/tests/.
19 * tests/atf/: Tests that use the ATF libraries, including atf-c, atf-c++
22 * tests/plain/: Tests that do not use any testing framework. See
27 $ kyua list -k /usr/tests/share/examples/tests/Kyuafile
31 $ kyua test -k /usr/tests/share/examples/tests/Kyuafile
35 $ kyua debug -k /usr/tests/share/examples/tests/Kyuafile \

12345678910>>...136