Searched refs:tests (Results 1 - 25 of 250) sorted by relevance

12345678910

/freebsd-10.0-release/tools/regression/doat/
H A Ddoat.c65 struct testcase tests[10]; /* no more than 10 tests */ member in struct:test
69 struct test *tests; variable in typeref:struct:test
108 tests = calloc(NUM_OF_TESTS + 1, sizeof(struct test));
109 if (tests == NULL) {
198 tests[0].syscall = SYS_faccessat;
199 tests[0].num_of_cases = 6;
200 tests[0].name = "faccessat";
201 tests[0].tests[
[all...]
/freebsd-10.0-release/tools/regression/tmpfs/
H A DMakefile4 tests= t_mount macro
5 tests+= t_statvfs
6 tests+= t_mkdir
7 tests+= t_vnode_leak
8 tests+= t_setattr
9 tests+= t_rmdir
10 tests+= t_trail_slash
11 tests+= t_dots
12 tests+= t_create
13 tests
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dparse_bytes-test.c44 } tests[] = { variable in typeref:struct:testcase
63 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
65 int val = parse_bytes (tests[i].str, tests[i].def_unit);
68 if (val != tests[i].val) {
70 tests[i].str,
71 tests[i].def_unit ? tests[i].def_unit : "none",
72 val, tests[
[all...]
H A Dparse_time-test.c45 } tests[] = { variable in typeref:struct:testcase
62 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
65 sz = unparse_time(tests[i].val, NULL, 0);
66 if (sz != tests[i].size)
67 errx(1, "sz (%lu) != tests[%d].size (%lu)",
68 (unsigned long)sz, i, (unsigned long)tests[i].size);
70 for (buf_sz = 0; buf_sz < tests[i].size + 2; buf_sz++) {
74 sz = unparse_time(tests[i].val, buf, buf_sz);
75 if (sz != tests[
[all...]
H A Dstrpftime-test.c47 } tests[] = { variable in typeref:struct:testcase
235 for (i = 0; i < sizeof(tests)/sizeof(tests[0]); ++i) {
238 tm = gmtime (&tests[i].t);
240 for (j = 0; tests[i].vals[j].format != NULL; ++j) {
246 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm);
249 tests[i].vals[j].format, (unsigned long)len,
254 if (strcmp (buf, tests[i].vals[j].result) != 0) {
256 tests[i].vals[j].format, buf,
257 tests[
[all...]
/freebsd-10.0-release/contrib/atf/atf-run/
H A Drequirements.hpp33 #include "atf-c++/tests.hpp"
38 std::string check_requirements(const atf::tests::vars_map&,
39 const atf::tests::vars_map&);
40 std::pair< int, int > get_required_user(const atf::tests::vars_map&,
41 const atf::tests::vars_map&);
H A Dconfig.hpp33 #include "atf-c++/tests.hpp"
56 atf::tests::vars_map merge_configs(const atf::tests::vars_map&,
57 const atf::tests::vars_map&);
58 atf::tests::vars_map read_config_files(const std::string&);
H A Datffile.hpp36 #include "atf-c++/tests.hpp"
72 atf::tests::vars_map m_conf;
74 atf::tests::vars_map m_props;
77 atffile(const atf::tests::vars_map&,
79 const atf::tests::vars_map&);
81 const atf::tests::vars_map& conf(void) const;
83 const atf::tests::vars_map& props(void) const;
/freebsd-10.0-release/tools/regression/lib/libc/regex/
H A DMakefile5 .PHONY: tests
6 tests:
/freebsd-10.0-release/tools/regression/lib/libc/stdlib/
H A DMakefile7 .PHONY: tests
8 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/usr.bin/cc/
H A DMakefile6 .PHONY: tests
7 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/execve/
H A Dexecve.t9 tests="test-empty test-nonexist test-nonexistshell \
18 for atest in ${tests}
/freebsd-10.0-release/tools/regression/mmap/
H A Dmmap.c37 const struct tests { struct
40 } tests[] = { variable in typeref:struct:tests
73 for (i=0; i < (sizeof(tests) / sizeof(*tests)); i++) {
74 p = mmap((void *)tests[i].addr, PAGE_SIZE,
78 if (tests[i].ok[map_at_zero] != 0)
81 (tests[i].ok[map_at_zero] == 0) ? "OK " : "ERR",
82 tests[i].addr);
84 if (tests[i].ok[map_at_zero] != 1)
87 (tests[
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/asn1/
H A Dcheck-der.c60 struct test_case tests[] = { local
76 int ntests = sizeof(tests) / sizeof(*tests);
79 tests[i].val = &values[i];
80 if (asprintf (&tests[i].name, "integer %d", values[i]) < 0)
82 if (tests[i].name == NULL)
86 ret = generic_test (tests, ntests, sizeof(int),
95 free (tests[i].name);
186 struct test_case tests[] = { local
200 int ntests = sizeof(tests) / sizeo
239 struct test_case tests[] = { local
280 struct test_case tests[] = { local
328 struct test_case tests[] = { local
372 struct test_case tests[] = { local
406 struct test_case tests[] = { local
448 struct test_case tests[] = { local
492 struct test_case tests[] = { local
530 struct test_case tests[] = { local
594 struct test_case tests[] = { local
639 struct test_case tests[] = { local
652 struct test_case tests[] = { local
665 struct test_case tests[] = { local
678 struct test_case tests[] = { local
690 struct test_case tests[] = { local
702 struct test_case tests[] = { local
715 struct test_case tests[] = { local
747 struct test_case tests[] = { local
759 struct test_case tests[] = { local
774 struct test_case tests[] = { local
1053 } tests[] = { local
[all...]
H A Dcheck-common.c196 generic_test (const struct test_case *tests, argument
221 current_test = tests[i].name;
237 buf_sz = tests[i].byte_len;
242 tests[i].val, &sz);
244 printf ("encoding of %s failed %d\n", tests[i].name, ret);
248 if (sz != tests[i].byte_len) {
250 tests[i].name,
251 (unsigned long)sz, (unsigned long)tests[i].byte_len);
257 length_sz = (*length) (tests[i].val);
260 tests[
354 generic_decode_fail(const struct test_case *tests, unsigned ntests, size_t data_size, int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *)) argument
[all...]
/freebsd-10.0-release/tools/regression/lib/libc/gen/
H A DMakefile6 .PHONY: tests
7 tests: ${TESTS}
14 sh-tests: test-fnmatch
/freebsd-10.0-release/tools/regression/lib/libc/net/
H A DMakefile6 .PHONY: tests
7 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/lib/libc/nss/
H A DMakefile7 .PHONY: tests
8 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/lib/libc/stdio/
H A DMakefile8 .PHONY: tests
9 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/lib/libc/string/
H A DMakefile9 .PHONY: tests
10 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/lib/libmp/
H A DMakefile6 .PHONY: tests
7 tests: ${TESTS}
/freebsd-10.0-release/tools/regression/lib/libutil/
H A DMakefile7 .PHONY: tests
8 tests: ${TESTS}
/freebsd-10.0-release/contrib/atf/atf-c++/
H A Dmacros.hpp37 #include <atf-c++/tests.hpp>
45 class atfu_tc_ ## name : public atf::tests::tc { \
51 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, false) {} \
56 class atfu_tc_ ## name : public atf::tests::tc { \
63 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, false) {} \
68 class atfu_tc_ ## name : public atf::tests::tc { \
76 atfu_tc_ ## name::atfu_tc_ ## name(void) : atf::tests::tc(#name, true) {} \
96 #define ATF_FAIL(reason) atf::tests::tc::fail(reason)
98 #define ATF_SKIP(reason) atf::tests::tc::skip(reason)
100 #define ATF_PASS() atf::tests
[all...]
/freebsd-10.0-release/tools/regression/lib/msun/
H A Dtest-logarithm.c199 } tests[] = { local
224 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
225 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP());
226 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP());
227 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP());
228 test_tol(log, tests[
[all...]
/freebsd-10.0-release/lib/libc/regex/grot/
H A DMakefile67 r: re tests
68 ./re <tests
69 ./re -el <tests
70 ./re -er <tests
72 ra: ./re tests
73 -./re <tests
74 -./re -el <tests
75 -./re -er <tests
77 rx: ./re tests
78 ./re -x <tests
[all...]

Completed in 111 milliseconds

12345678910