/netbsd/crypto/external/bsd/openssl.old/dist/test/ |
H A D | test_test.c | 35 if (!TEST(1, 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() 222 if (!TEST(1, TEST_ptr(&y)) in test_pointer() 245 if (!TEST(0, TEST_true(0)) in test_bool() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | test_test.c | 35 if (!TEST(1, 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() 222 if (!TEST(1, TEST_ptr(&y)) in test_pointer() 245 if (!TEST(0, TEST_true(0)) in test_bool() [all …]
|
/netbsd/external/bsd/jemalloc/dist/test/unit/ |
H A D | malloc_io.c | 129 TEST("a 123b", "a% db", 123); in TEST_BEGIN() 130 TEST("a123b", "a%-db", 123); in TEST_BEGIN() 135 #undef TEST in TEST_BEGIN() 149 TEST("hello", "hello"); in TEST_BEGIN() 175 TEST("_1234_", "_%o_", 01234); in TEST_BEGIN() 177 TEST("_1234_", "_%u_", 1234); in TEST_BEGIN() 179 TEST("_1234_", "_%d_", 1234); in TEST_BEGIN() 187 TEST("_1234_", "_%d_", 1234); in TEST_BEGIN() 189 TEST("_1234_", "_%i_", 1234); in TEST_BEGIN() 191 TEST("_1234_", "_%u_", 1234); in TEST_BEGIN() [all …]
|
/netbsd/tests/lib/lua/libm/ |
H A D | h_lualibm.c | 10 TEST(M_E); in main() 11 TEST(M_LOG2E); in main() 12 TEST(M_LOG10E); in main() 13 TEST(M_LN2); in main() 14 TEST(M_LN10); in main() 15 TEST(M_PI); in main() 16 TEST(M_PI_2); in main() 17 TEST(M_PI_4); in main() 18 TEST(M_1_PI); in main() 19 TEST(M_2_PI); in main() [all …]
|
/netbsd/tests/lib/libc/net/getaddrinfo/ |
H A D | t_getaddrinfo.sh | 71 ( $TEST ::1 http 74 $TEST ::1 tftp 77 $TEST ::1 echo 108 ( $TEST '' http 109 $TEST '' echo 110 $TEST '' tftp 111 $TEST '' 80 112 $TEST -P '' http 115 $TEST -P '' 80 116 $TEST -S '' 80 [all …]
|
/netbsd/external/bsd/tre/dist/tests/agrep/ |
H A D | delimiters.ok | 1 #### 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 33 #### TEST: agrep -n ^foobar$ delimiters.in 41 #### TEST: agrep -s ^foobar$ delimiters.in 49 #### TEST: agrep -M ^foobar$ delimiters.in [all …]
|
H A D | exitstatus.ok | 1 #### TEST: agrep this-will-be-found exitstatus.in 351 #### TEST: agrep . exitstatus.in 357 #### TEST: agrep . < exitstatus.in 363 #### TEST: agrep -c . exitstatus.in 371 #### TEST: agrep -H . exitstatus.in 383 #### TEST: agrep -l . exitstatus.in 391 #### TEST: agrep -n . exitstatus.in 403 #### TEST: agrep -s . exitstatus.in 415 #### TEST: agrep -M . exitstatus.in 646 #### TEST: agrep \ exitstatus.in [all …]
|
H A D | basic.ok | 1 #### 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 41 #### TEST: agrep -s random basic.in [all …]
|
/netbsd/crypto/external/bsd/heimdal/dist/tests/kdc/ |
H A D | krb5.conf.in | 16 TEST.H5L.SE = { 21 SUB.TEST.H5L.SE = { 49 H1.TEST.H5L.SE = { 52 H2.TEST.H5L.SE = { 144 TEST.H5L.SE = { 156 H1.TEST.H5L.SE = H3.H2.TEST.H5L.SE 157 H1.TEST.H5L.SE = H2.TEST.H5L.SE 158 H1.TEST.H5L.SE = TEST.H5L.SE 160 TEST.H5L.SE = H3.H2.TEST.H5L.SE 161 TEST.H5L.SE = H2.TEST.H5L.SE [all …]
|
H A D | heimdal.acl | 1 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
|
/netbsd/regress/lib/libc/divrem/ |
H A D | divremtest.c | 112 TEST("32 ", a32, b32, sr32); in main() 120 TEST("32 ", a32, b32, sr32); in main() 123 TEST("32 ", a32, b32, sr32); in main() 148 TEST("64 ", a64, b64, sr64); in main() 155 TEST("64 ", a64, b64, sr64); in main() 158 TEST("64 ", a64, b64, sr64); in main() 170 TEST("32 ", a32, b32, sr32); in main() 172 TEST("32 ", -a32 - 1, b32, sr32); in main() 173 TEST("32 ", a32, -b32, sr32); in main() 176 TEST("64 ", a64, b64, sr64); in main() [all …]
|
/netbsd/external/bsd/libc++/dist/libcxxrt/test/ |
H A D | test_exception.cc | 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() 132 TEST(s == 1 && f == 1, "Caught float"); in test_catch() 147 TEST(0, "Unreachable line reached"); in test_catch() 163 TEST(a == 1, "Caught int"); in test_nested1() 183 TEST(f == 1, "Caught re-thrown float"); in test_nested() 274 TEST(uncaught == m_uncaught, msg); in ~uncaught_exceptions_checker() 356 TEST(&a==b, "Caught int from thrown int"); in test_exceptions() [all …]
|
H A D | test_typeinfo.cc | 87 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() 108 TEST(0 == dynamic_cast<Diamond*>(&root), "Downcasting root to diamond"); in test_type_info() [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
H A D | asan_test.cc | 111 TEST(AddressSanitizer, CallocTest) { in TEST() function 141 TEST(AddressSanitizer, VallocTest) { in TEST() function 149 TEST(AddressSanitizer, PvallocTest) { in TEST() function 195 TEST(AddressSanitizer, UAF_char) { in TEST() function 226 TEST(AddressSanitizer, UAF_Packed5) { in TEST() function 235 TEST(AddressSanitizer, IgnoreTest) { in TEST() function 292 TEST(AddressSanitizer, SignalTest) { in TEST() function 345 TEST(AddressSanitizer, memalign) { in TEST() function 819 TEST(AddressSanitizer, pread) { in TEST() function 823 TEST(AddressSanitizer, pread64) { in TEST() function [all …]
|
H A D | asan_mac_test.cc | 89 TEST(AddressSanitizerMac, GCDDispatchAsync) { in TEST() function 95 TEST(AddressSanitizerMac, GCDDispatchSync) { in TEST() function 108 TEST(AddressSanitizerMac, GCDReuseWqthreadsSync) { in TEST() function 114 TEST(AddressSanitizerMac, GCDDispatchAfter) { in TEST() function 120 TEST(AddressSanitizerMac, GCDSourceEvent) { in TEST() function 126 TEST(AddressSanitizerMac, GCDSourceCancel) { in TEST() function 132 TEST(AddressSanitizerMac, GCDGroupAsync) { in TEST() function 206 TEST(AddressSanitizerMac, CFStringCreateCopy) { in TEST() function 212 TEST(AddressSanitizerMac, NSObjectOOB) { in TEST() function 220 TEST(AddressSanitizerMac, NSURLDeallocation) { in TEST() function [all …]
|
/netbsd/usr.bin/sed/TEST/ |
H A D | sed.test | 70 tests $TEST $TESTLOG 520 $TEST -x && exit 1 521 $TEST -f && exit 1 522 $TEST -e && exit 1 526 $TEST '{' && exit 1 527 $TEST '{' && exit 1 531 $TEST '/jj' && exit 1 534 $TEST 'b foo' && exit 1 536 $TEST 's/aa' && exit 1 543 $TEST 'y/aa' && exit 1 [all …]
|
/netbsd/lib/libutil/ |
H A D | stat_flags.c | 101 #define TEST(a, b, f) { \ macro 148 TEST(p, "arch", 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() 173 TEST(p, "uappnd", UF_APPEND); in string_to_flags() 174 TEST(p, "uappend", UF_APPEND); in string_to_flags() [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
H A D | tsan_bench.cc | 35 TEST(DISABLED_BENCH, Mop1) { in TEST() function 39 TEST(DISABLED_BENCH, Mop1Read) { in TEST() function 43 TEST(DISABLED_BENCH, Mop1Write) { in TEST() function 47 TEST(DISABLED_BENCH, Mop2) { in TEST() function 51 TEST(DISABLED_BENCH, Mop2Read) { in TEST() function 55 TEST(DISABLED_BENCH, Mop2Write) { in TEST() function 59 TEST(DISABLED_BENCH, Mop4) { in TEST() function 63 TEST(DISABLED_BENCH, Mop4Read) { in TEST() function 71 TEST(DISABLED_BENCH, Mop8) { in TEST() function 75 TEST(DISABLED_BENCH, Mop8Read) { in TEST() function [all …]
|
H A D | tsan_mop.cc | 19 TEST(ThreadSanitizer, SimpleWrite) { in TEST() function 25 TEST(ThreadSanitizer, SimpleWriteWrite) { in TEST() function 32 TEST(ThreadSanitizer, WriteWriteRace) { in TEST() function 39 TEST(ThreadSanitizer, ReadWriteRace) { in TEST() function 46 TEST(ThreadSanitizer, WriteReadRace) { in TEST() function 53 TEST(ThreadSanitizer, ReadReadNoRace) { in TEST() function 60 TEST(ThreadSanitizer, WriteThenRead) { in TEST() function 107 TEST(ThreadSanitizer, RaceWithOffset) { in TEST() function 141 TEST(ThreadSanitizer, RaceWithOffset2) { in TEST() function 155 TEST(ThreadSanitizer, NoRaceWithOffset) { in TEST() function [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
H A D | msan_test.cc | 291 TEST(MemorySanitizer, Phi1) { in TEST() function 302 TEST(MemorySanitizer, Phi2) { in TEST() function 391 TEST(MemorySanitizer, AndOr) { in TEST() function 422 TEST(MemorySanitizer, Not) { in TEST() function 443 TEST(MemorySanitizer, Shift) { in TEST() function 627 TEST(MemorySanitizer, fread) { in TEST() function 639 TEST(MemorySanitizer, read) { in TEST() function 652 TEST(MemorySanitizer, pread) { in TEST() function 734 TEST(MemorySanitizer, stat) { in TEST() function 788 TEST(MemorySanitizer, pipe) { in TEST() function [all …]
|
/netbsd/tests/bin/sh/ |
H A D | t_fsplit.sh | 47 TEST=$((${TEST} + 1)) 80 atf_fail "TEST ${TEST} '$1' failed ($STATUS)" 93 TEST=0 103 TEST=0 167 TEST=0 242 TEST=0 270 TEST=0 290 TEST=0 338 TEST=0 361 TEST=0 [all …]
|
/netbsd/usr.bin/make/unit-tests/ |
H A D | var-recursive.mk | 10 TEST?= # none 11 .if ${TEST} == "" 14 @${.MAKE} -f ${MAKEFILE} TEST=${test} || : 17 .elif ${TEST} == direct 24 .elif ${TEST} == indirect 31 .elif ${TEST} == conditional 39 .elif ${TEST} == short 47 .elif ${TEST} == target 60 . error Unknown test "${TEST}"
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
H A D | virtfunc.cc | 153 #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/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/ |
H A D | virtfunc.cc | 153 #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/external/bsd/ntp/dist/ |
H A D | build | 148 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 || 183 "$TEST" Makefile -nt config.status || 185 "$TEST" sntp/Makefile -nt sntp/config.status || 187 "$TEST" '!' -f sntp/libevent/Makefile || [all …]
|