Searched refs:testcase (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/lib/libarchive/tests/
H A Dfunctional_test.sh34 local testcase=${1}; shift
36 atf_check -o ignore -s exit:0 ${TESTER} -d -r "${SRCDIR}" -v "${testcase}"
45 for testcase in ${testcases}; do
46 atf_test_case ${testcase}
47 eval "${testcase}_body() { check ${testcase}; }"
48 atf_add_test_case ${testcase}
/freebsd-11-stable/usr.bin/bsdcat/tests/
H A Dfunctional_test.sh35 local testcase=${1}; shift
42 atf_check -e ignore -o ignore -s exit:0 ${TESTER} -d -r "${SRCDIR}" -v "${testcase}"
51 for testcase in ${testcases}; do
52 atf_test_case ${testcase}
53 eval "${testcase}_body() { check ${testcase}; }"
54 atf_add_test_case ${testcase}
/freebsd-11-stable/usr.bin/cpio/tests/
H A Dfunctional_test.sh35 local testcase=${1}; shift
42 atf_check -e ignore -o ignore -s exit:0 ${TESTER} -d -r "${SRCDIR}" -v "${testcase}"
51 for testcase in ${testcases}; do
52 atf_test_case ${testcase}
53 eval "${testcase}_body() { check ${testcase}; }"
54 atf_add_test_case ${testcase}
/freebsd-11-stable/usr.bin/tar/tests/
H A Dfunctional_test.sh35 local testcase=${1}; shift
37 atf_check -o ignore -s exit:0 ${TESTER} -d -r "${SRCDIR}" -v "${testcase}"
46 for testcase in ${testcases}; do
47 atf_test_case ${testcase}
48 eval "${testcase}_body() { check ${testcase}; }"
49 atf_add_test_case ${testcase}
/freebsd-11-stable/contrib/ntp/lib/isc/tests/
H A Dhash_test.c202 hash_testcase_t *testcase = testcases; local
204 while (testcase->input != NULL && testcase->result != NULL) {
206 for(i = 0; i < testcase->repeats; i++) {
208 (const isc_uint8_t *) testcase->input,
209 testcase->input_len);
213 ATF_CHECK_STREQ(str, testcase->result);
215 testcase++;
329 hash_testcase_t *testcase = testcases; local
331 while (testcase
461 hash_testcase_t *testcase = testcases; local
607 hash_testcase_t *testcase = testcases; local
754 hash_testcase_t *testcase = testcases; local
833 hash_testcase_t *testcase = testcases; local
922 hash_testcase_t *testcase = testcases; local
1075 hash_testcase_t *testcase = testcases; local
1238 hash_testcase_t *testcase = testcases; local
1407 hash_testcase_t *testcase = testcases; local
1576 hash_testcase_t *testcase = testcases; local
1719 hash_testcase_t *testcase = testcases; local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_main.c194 basic_test_setup(const struct testcase_t *testcase) argument
201 if (testcase->flags & TT_ENABLE_IOCP_FLAG)
205 if (testcase->flags & TT_NEED_THREADS) {
206 if (!(testcase->flags & TT_FORK))
219 if (testcase->flags & TT_NEED_SOCKETPAIR) {
235 if (testcase->flags & TT_NEED_BASE) {
236 if (testcase->flags & TT_LEGACY)
243 if (testcase->flags & TT_ENABLE_IOCP_FLAG) {
250 if (testcase->flags & TT_NEED_DNS) {
256 if (testcase
270 basic_test_cleanup(const struct testcase_t *testcase, void *ptr) argument
313 legacy_test_setup(const struct testcase_t *testcase) argument
351 legacy_test_cleanup(const struct testcase_t *testcase, void *ptr) argument
[all...]
H A Dtinytest.c92 testcase_run_bare_(const struct testcase_t *testcase) argument
96 if (testcase->setup) {
97 env = testcase->setup->setup_fn(testcase);
105 testcase->fn(env);
108 if (testcase->setup) {
109 if (testcase->setup->cleanup_fn(testcase, env) == 0)
122 const struct testcase_t *testcase)
148 commandname, verbosity_flag, group->prefix, testcase
121 testcase_run_forked_(const struct testgroup_t *group, const struct testcase_t *testcase) argument
223 testcase_run_one(const struct testgroup_t *group, const struct testcase_t *testcase) argument
288 struct testcase_t *testcase = &groups[i].cases[j]; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Dtest-ldap.c45 struct testcase { struct
52 static const struct testcase testcases[] = {
59 static const struct testcase testcases2[] = {
76 const struct testcase *t = &testcases[i];
101 const struct testcase *t = &testcases2[i];
H A Dtest-utf8.c73 struct testcase { struct
80 static const struct testcase testcases[] = {
123 const struct testcase *t = &testcases[i];
H A Dtest-rw.c42 struct testcase { struct
/freebsd-11-stable/tools/test/netfibs/
H A Dreflect.c49 static char *testcase; variable
78 * We expected a "START testcase" on first connect. Otherwise it means
88 if (strcmp(buf+6, testcase) != 0)
90 "'%s': '%s'", testcase, buf+6);
94 fprintf(stderr, "<< %s: %s\n", testcase, buf);
102 fprintf(stderr, ">> %s: %s\n", testcase, buf);
338 testcase = optarg;
351 if (testcase == NULL)
352 errx(EX_USAGE, "Mandatory option -t <testcase> not given");
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dparse_bytes-test.c39 static struct testcase { struct
H A Dparse_reply-test.c50 static struct testcase { struct
91 const struct testcase *t = &tests[i];
H A Dparse_time-test.c41 static struct testcase { struct
H A Dstrpftime-test.c41 static struct testcase { struct
/freebsd-11-stable/lib/libc/tests/gen/
H A Dtest-fnmatch.c42 struct testcase *t;
H A Dfnmatch_testcases.h32 struct testcase { struct
H A Dfmtmsg_test.c45 struct testcase { struct
226 struct testcase *t;
237 ATF_CHECK_MSG(result != NULL, "testcase %d failed", i + 1);
240 "results for testcase %d didn't match; "
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dn-fold-test.c37 static struct testcase { struct
97 struct testcase *t;
H A Dparse-name-test.c38 static struct testcase { struct
67 struct testcase *t;
H A Dstring-to-key-test.c38 static struct testcase { struct
95 struct testcase *t;
H A Dderived-key-test.c38 static struct testcase { struct
81 struct testcase *t;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fmemopen.c70 struct testcase { struct
414 struct testcase *t;
465 struct testcase *t;
513 struct testcase *t;
574 struct testcase *t;
633 struct testcase *t;
687 struct testcase *t;
760 struct testcase *t;
796 struct testcase *t;
831 struct testcase *
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_scalbn.c44 struct testcase { struct
50 struct testcase test_vals[] = {
78 const struct testcase *tests = test_vals;
220 const struct testcase *tests = test_vals;
365 const struct testcase *tests = test_vals;
/freebsd-11-stable/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c460 ** The testcase() macro is used to aid in coverage testing. When
462 ** testcase() must be evaluated both true and false in order to
463 ** get full branch coverage. The testcase() macro is inserted
465 ** condition/decision coverage is inadequate. For example, testcase()
467 ** bitmask tests, testcase() can be used to make sure each bit
469 ** where multiple cases go to the same block of code, testcase()
475 # define testcase(X) if( X ){ sqlite3Coverage(__LINE__); } macro
477 # define testcase(X) macro
483 ** within testcase() and assert() macros.
533 ** to fit in 32-bits. This macro is used inside of various testcase()
114098 # define testcase macro
[all...]

Completed in 312 milliseconds

12