Home
last modified time | relevance | path

Searched refs:TEST (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dtest_test.c22 #define TEST(expected, test) test_case((expected), #test, (test)) macro
35 if (!TEST(1, TEST_int_eq(1, 1)) in test_int()
36 || !TEST(0, TEST_int_eq(1, -1)) in test_int()
37 || !TEST(1, TEST_int_ne(1, 2)) in test_int()
38 || !TEST(0, TEST_int_ne(3, 3)) in test_int()
39 || !TEST(1, TEST_int_lt(4, 9)) in test_int()
40 || !TEST(0, TEST_int_lt(9, 4)) in test_int()
41 || !TEST(1, TEST_int_le(4, 9)) in test_int()
42 || !TEST(1, TEST_int_le(5, 5)) in test_int()
43 || !TEST(0, TEST_int_le(9, 4)) in test_int()
[all …]
/netbsd/src/tests/lib/libc/net/getaddrinfo/
Dt_getaddrinfo.sh69 TEST=$(atf_get_srcdir)/h_gai
71 ( $TEST ::1 http
72 $TEST 127.0.0.1 http
73 $TEST localhost http
74 $TEST ::1 tftp
75 $TEST 127.0.0.1 tftp
76 $TEST localhost tftp
77 $TEST ::1 echo
78 $TEST 127.0.0.1 echo
79 $TEST localhost echo ) > out 2>&1
[all …]
/netbsd/src/external/bsd/tre/dist/tests/agrep/
Ddelimiters.ok1 #### TEST: agrep ^foobar$ delimiters.in
5 #### TEST: agrep ^foobar$ < delimiters.in
9 #### TEST: agrep -c ^foobar$ delimiters.in
13 #### TEST: agrep -c ^foobar$ < delimiters.in
17 #### TEST: agrep -H ^foobar$ delimiters.in
21 #### TEST: agrep -H ^foobar$ < delimiters.in
25 #### TEST: agrep -l ^foobar$ delimiters.in
29 #### TEST: agrep -l ^foobar$ < delimiters.in
33 #### TEST: agrep -n ^foobar$ delimiters.in
37 #### TEST: agrep -n ^foobar$ < delimiters.in
[all …]
Dexitstatus.ok1 #### TEST: agrep this-will-be-found exitstatus.in
5 #### TEST: agrep this-will-be-found < exitstatus.in
9 #### TEST: agrep -c this-will-be-found exitstatus.in
13 #### TEST: agrep -c this-will-be-found < exitstatus.in
17 #### TEST: agrep -H this-will-be-found exitstatus.in
21 #### TEST: agrep -H this-will-be-found < exitstatus.in
25 #### TEST: agrep -l this-will-be-found exitstatus.in
29 #### TEST: agrep -l this-will-be-found < exitstatus.in
33 #### TEST: agrep -n this-will-be-found exitstatus.in
37 #### TEST: agrep -n this-will-be-found < exitstatus.in
[all …]
Dbasic.ok1 #### TEST: agrep random basic.in
5 #### TEST: agrep random < basic.in
9 #### TEST: agrep -c random basic.in
13 #### TEST: agrep -c random < basic.in
17 #### TEST: agrep -H random basic.in
21 #### TEST: agrep -H random < basic.in
25 #### TEST: agrep -l random basic.in
29 #### TEST: agrep -l random < basic.in
33 #### TEST: agrep -n random basic.in
37 #### TEST: agrep -n random < basic.in
[all …]
Drecords.ok1 #### TEST: agrep -d \s+ a records.in
10 #### TEST: agrep -d \s+ a < records.in
19 #### TEST: agrep -c -d \s+ a records.in
23 #### TEST: agrep -c -d \s+ a < records.in
27 #### TEST: agrep -H -d \s+ a records.in
36 #### TEST: agrep -H -d \s+ a < records.in
45 #### TEST: agrep -l -d \s+ a records.in
49 #### TEST: agrep -l -d \s+ a < records.in
53 #### TEST: agrep -n -d \s+ a records.in
62 #### TEST: agrep -n -d \s+ a < records.in
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/tests/kdc/
Dkrb5.conf.in2 default_realm = TEST.H5L.SE TEST2.H5L.SE
16 TEST.H5L.SE = {
21 SUB.TEST.H5L.SE = {
46 TEST-HTTP.H5L.SE = {
49 H1.TEST.H5L.SE = {
52 H2.TEST.H5L.SE = {
55 H3.H2.TEST.H5L.SE = {
58 H4.H2.TEST.H5L.SE = {
63 .test.h5l.se = TEST.H5L.SE
64 .sub.test.h5l.se = SUB.TEST.H5L.SE
[all …]
Dheimdal.acl1 foo/admin@TEST.H5L.SE all
2 bar@TEST.H5L.SE all
3 baz@TEST.H5L.SE get,add *
4 bez@TEST.H5L.SE get,add *@TEST.H5L.SE
5 fez@TEST.H5L.SE get,add
6 hasalias@TEST.H5L.SE get,mod hasalias@TEST.H5L.SE
7 hasalias@TEST.H5L.SE get,add goodalias1@TEST.H5L.SE
8 hasalias@TEST.H5L.SE get,add goodalias2@TEST.H5L.SE
9 hasalias@TEST.H5L.SE get,add goodalias3@TEST.H5L.SE
Dkrb5-canon.conf.in2 default_realm = TEST.H5L.SE TEST2.H5L.SE
5 name_canon_rules = as-is:realm=TEST.H5L.SE
8 name_canon_rules = qualify:domain=test1.h5l.se:realm=TEST.H5L.SE
20 TEST.H5L.SE = {
34 .test1.h5l.se = TEST.H5L.SE
37 localhost = TEST.H5L.SE
59 realm = TEST.H5L.SE
89 TEST.H5L.SE = {
94 TEST.H5L.SE = .
98 TEST.H5L.SE = .
Dkrb5-canon2.conf.in2 default_realm = TEST.H5L.SE TEST2.H5L.SE
5 name_canon_rules = as-is:realm=TEST.H5L.SE
17 TEST.H5L.SE = {
31 .test1.h5l.se = TEST.H5L.SE
34 localhost = TEST.H5L.SE
56 realm = TEST.H5L.SE
86 TEST.H5L.SE = {
91 TEST.H5L.SE = .
95 TEST.H5L.SE = .
/netbsd/src/regress/lib/libc/divrem/
Ddivremtest.c49 #define TEST(id, a, b, c) \ macro
57 #define T64S(a, b, c) TEST("64 ", (a), (b), (c))
58 #define T64U(a, b, c) TEST("64U", (a), (b), (c))
97 TEST("32 ", a32 + k, b32 + l, sr32); in main()
98 TEST("32 ", a32 + k, -(b32 + l), sr32); in main()
99 TEST("32 ", -(a32 + k), b32 + l, sr32); in main()
100 TEST("32 ", -(a32 + k), -(b32 + l), sr32); in main()
103 TEST("32U", (1U << i) + k, (1U << j) + l, ur32); in main()
112 TEST("32 ", a32, b32, sr32); in main()
114 TEST("32U", (unsigned)a32, (unsigned)b32, ur32); in main()
[all …]
/netbsd/src/external/bsd/libc++/dist/libcxxrt/test/
Dtest_exception.cc60 TEST(cleanup_count == cleanups+1, "Cleanup ran correctly");\
94 TEST(a == b, "Caught int as const int"); in test_const()
98 TEST(0, "Failed to catch int as const int"); in test_const()
106 TEST(&a == b, "Caught int* as const int*"); in test_const()
110 TEST(0, "Failed to catch int* as const int*"); in test_const()
126 TEST((s == 0 && i == 1) || (s == 2 && i == 0), "Caught int"); in test_catch()
132 TEST(s == 1 && f == 1, "Caught float"); in test_catch()
138 TEST((s == 3 || s == 4) && f.i == 2, "Caught struct"); in test_catch()
143 TEST(s == 5 && np.x == 3, "Caught non_pod"); in test_catch()
147 TEST(0, "Unreachable line reached"); in test_catch()
[all …]
Dtest_typeinfo.cc87 TEST(12 == b->test, "Setting field"); in test_type_info()
90 TEST(12 == b->test, "Casting Sub1 to superclass"); in test_type_info()
92 TEST(12 == dynamic_cast<Sub1*>(s2)->a, "Casting Sub2 -> Sub1"); in test_type_info()
95 TEST(12 == dynamic_cast<Virt1*>(v1)->a, "Casting Root (Virt1) -> Virt1"); in test_type_info()
98 TEST(12 == d1->as_v2()->test, "Accessing virt2 via vtable method"); in test_type_info()
99 TEST(12 == dynamic_cast<Virt2*>(d1)->test, "Casting diamond to virt2"); in test_type_info()
100 TEST(12 == dynamic_cast<Diamond*>(d1)->test, "casting diamond to diamond"); in test_type_info()
105 TEST(12 == dynamic_cast<Diamond2*>(d2)->test, "Casting Diamond2 to Diamond2"); in test_type_info()
106 TEST(12 == dynamic_cast<Virt2a*>(d2)->test, "Casting Diamond2 to Virt2a"); in test_type_info()
107 TEST(&diamond == dynamic_cast<Diamond*>(up), "Downcasting root-pointer to diamond"); in test_type_info()
[all …]
/netbsd/src/usr.bin/sed/TEST/
Dsed.test50 TEST=$(cd $(dirname $0)/.. && make -V .OBJDIR)/sed
70 tests $TEST $TESTLOG
520 $TEST -x && exit 1
521 $TEST -f && exit 1
522 $TEST -e && exit 1
523 $TEST -f /dev/dds && exit 1
524 $TEST p /dev/dds && exit 1
525 $TEST -f /bin/sh && exit 1
526 $TEST '{' && exit 1
527 $TEST '{' && exit 1
[all …]
/netbsd/src/lib/libutil/
Dstat_flags.c101 #define TEST(a, b, f) { \ macro
148 TEST(p, "arch", SF_ARCHIVED); in string_to_flags()
149 TEST(p, "archived", SF_ARCHIVED); in string_to_flags()
153 TEST(p, "dump", UF_NODUMP); in string_to_flags()
160 TEST(p, "nodump", UF_NODUMP); in string_to_flags()
163 TEST(p, "opaque", UF_OPAQUE); in string_to_flags()
166 TEST(p, "sappnd", SF_APPEND); in string_to_flags()
167 TEST(p, "sappend", SF_APPEND); in string_to_flags()
168 TEST(p, "schg", SF_IMMUTABLE); in string_to_flags()
169 TEST(p, "schange", SF_IMMUTABLE); in string_to_flags()
[all …]
/netbsd/src/tests/bin/sh/
Dt_fsplit.sh47 if [ "${TEST}" -eq 0 ]
52 TEST=$((${TEST} + 1))
56 (*) atf_fail "Internal test error, $# args to check, test ${TEST}";;
76 FAILURES="${FAILURES}${FAILURES:+ }${TEST}"
78 "${TEST}" "$1"
88 FAILURES="${FAILURES}${FAILURES:+ }${TEST}"
90 "${TEST}" "$1"
111 "${NAME}" "$#" "${TEST}" "$*"
113 atf_fail "$# of ${TEST} sub-tests (${FAILURES}), see stderr"
126 TEST=0
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
Dvirtfunc.cc153 #define TEST(EXPR, EXPECTED) \ macro
164 TEST(pAe->f(), 20); in test_calls()
165 TEST(pAa->f(), 1); in test_calls()
167 TEST(pDe->vg(), 202); in test_calls()
168 TEST(pADe->vg(), 202); in test_calls()
169 TEST(pDd->vg(), 101); in test_calls()
171 TEST(pEe->vvb(), 411); in test_calls()
173 TEST(pVB->vvb(), 407); in test_calls()
175 TEST(pBe->vvb(), 411); in test_calls()
176 TEST(pDe->vvb(), 411); in test_calls()
[all …]
/netbsd/src/external/bsd/ntp/dist/
Dbuild148 TEST="${TEST-}"
149 if [ -z "$TEST" ] ; then
153 TEST="$try"
159 if [ -z "$TEST" ] ; then
178 ( "$TEST" config.status -nt ../configure &&
179 "$TEST" sntp/config.status -nt ../sntp/configure &&
180 ( "$TEST" '!' -f sntp/libevent/config.status ||
181 "$TEST" sntp/libevent/config.status -nt ../sntp/libevent/configure ) ) ||
183 "$TEST" Makefile -nt config.status ||
185 "$TEST" sntp/Makefile -nt sntp/config.status ||
[all …]
/netbsd/src/external/lgpl3/mpfr/dist/tests/
Dtbeta.c42 #define TEST(p, r, z, w, expected) TESTRND(p, r, z, w, expected, MPFR_RNDN) macro
63 TEST(prec, r, z, w, expect); in test_beta_special()
68 TEST(prec, r, z, w, expect); in test_beta_special()
73 TEST(prec, r, z, w, expect); in test_beta_special()
78 TEST(prec, r, z, w, expect); in test_beta_special()
83 TEST(prec, r, z, w, expect); in test_beta_special()
88 TEST(prec, r, z, w, expect); in test_beta_special()
93 TEST(prec, r, z, w, expect); in test_beta_special()
100 TEST(prec, r, z, w, expect); in test_beta_special()
106 TEST(prec, r, z, w, expect); in test_beta_special()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/tests/can/
Dheim-0.8.kadm1 init --realm-max-ticket-life=1day --realm-max-renewable-life=1month TEST.H5L.SE
2 cpw -p kaka krbtgt/TEST.H5L.SE@TEST.H5L.SE
3 add -p foo --use-defaults foo@TEST.H5L.SE
4 add -p foo --use-defaults bar@TEST.H5L.SE
Dapple-10.4.kadm1 init --realm-max-ticket-life=1day --realm-max-renewable-life=1month TEST.H5L.SE
2 cpw -p kaka krbtgt/TEST.H5L.SE@TEST.H5L.SE
3 add -p foo --use-defaults foo@TEST.H5L.SE
4 add -p foo --use-defaults bar@TEST.H5L.SE
/netbsd/src/external/bsd/file/dist/tests/
DREADME8 TEST.testfile
9 TEST.result
11 where TEST is the base name of the test, TEST.testfile is the input,
12 and TEST.result is the desired output from file.
/netbsd/src/crypto/external/bsd/heimdal/dist/tests/gss/
Dkrb5.conf.in4 default_realm = TEST.H5L.SE
9 name_canon_rules = as-is:realm=TEST.H5L.SE
13 TEST.H5L.SE = {
18 .test.h5l.se = TEST.H5L.SE
26 realm = TEST.H5L.SE
/netbsd/src/sys/arch/x68k/stand/xxboot/
Dmemcmp.S71 .macro TEST name macro
80 TEST test1
81 TEST test2
82 TEST test3
83 TEST test4
84 TEST test5
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dstartup-with-shell.exp75 set env(TEST) "1234"
79 unset env(TEST)
83 set env(TEST) "1234"
87 unset env(TEST)

12345678910>>...18