| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | test_test.c | 22 #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/crypto/external/bsd/openssl/dist/test/ |
| H A D | test_test.c | 22 #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/lua/libm/ |
| H A D | h_lualibm.c | 4 #define TEST(M_) printf("%-24s%+2.13f\n", #M_, M_) macro 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() [all …]
|
| /netbsd-src/tests/lib/libc/net/getaddrinfo/ |
| H A D | t_getaddrinfo.sh | 69 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/ |
| 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 29 #### TEST: agrep -l ^foobar$ < delimiters.in 33 #### TEST: agrep -n ^foobar$ delimiters.in 37 #### TEST: agrep -n ^foobar$ < delimiters.in [all …]
|
| H A D | exitstatus.ok | 1 #### 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 …]
|
| 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 37 #### TEST: agrep -n random < basic.in [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/tests/kdc/ |
| H A D | krb5.conf.in | 2 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 …]
|
| 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-src/regress/lib/libc/divrem/ |
| H A D | divremtest.c | 49 #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/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
| H A D | asan_test.cc | 61 TEST(AddressSanitizer, HasFeatureAddressSanitizerTest) { in TEST() function 72 TEST(AddressSanitizer, SimpleDeathTest) { in TEST() function 76 TEST(AddressSanitizer, VariousMallocsTest) { in TEST() function 111 TEST(AddressSanitizer, CallocTest) { in TEST() function 117 TEST(AddressSanitizer, CallocReturnsZeroMem) { in TEST() function 141 TEST(AddressSanitizer, VallocTest) { in TEST() function 149 TEST(AddressSanitizer, PvallocTest) { in TEST() function 185 TEST(AddressSanitizer, DISABLED_TSDTest) { in TEST() function 195 TEST(AddressSanitizer, UAF_char) { in TEST() function 204 TEST(AddressSanitizer, UAF_long_double) { in TEST() function [all …]
|
| H A D | asan_mac_test.cc | 22 TEST(AddressSanitizerMac, CFAllocatorDefaultDoubleFree) { in TEST() function 34 TEST(AddressSanitizerMac, CFAllocatorDefaultDoubleFree_ChildPhread) { in TEST() function 62 TEST(AddressSanitizerMac, CFAllocator_PassMemoryToAnotherThread) { in TEST() function 71 TEST(AddressSanitizerMac, DISABLED_CFAllocatorSystemDefaultDoubleFree) { in TEST() function 78 TEST(AddressSanitizerMac, CFAllocatorMallocDoubleFree) { in TEST() function 82 TEST(AddressSanitizerMac, DISABLED_CFAllocatorMallocZoneDoubleFree) { in TEST() function 89 TEST(AddressSanitizerMac, GCDDispatchAsync) { in TEST() function 95 TEST(AddressSanitizerMac, GCDDispatchSync) { in TEST() function 102 TEST(AddressSanitizerMac, GCDReuseWqthreadsAsync) { in TEST() function 108 TEST(AddressSanitizerMac, GCDReuseWqthreadsSync) { in TEST() function [all …]
|
| /netbsd-src/external/bsd/libc++/dist/libcxxrt/test/ |
| H A D | test_exception.cc | 60 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 …]
|
| 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() 107 TEST(&diamond == dynamic_cast<Diamond*>(up), "Downcasting root-pointer to diamond"); in test_type_info() [all …]
|
| /netbsd-src/usr.bin/sed/TEST/ |
| H A D | sed.test | 50 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/ |
| H A D | stat_flags.c | 101 #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/sys/external/bsd/compiler_rt/dist/lib/msan/tests/ |
| H A D | msan_test.cc | 236 TEST(MemorySanitizerSanity, PoisonInMalloc) { in TEST() function 242 TEST(MemorySanitizer, NegativeTest1) { in TEST() function 249 TEST(MemorySanitizer, PositiveTest1) { in TEST() function 291 TEST(MemorySanitizer, Phi1) { in TEST() function 302 TEST(MemorySanitizer, Phi2) { in TEST() function 313 TEST(MemorySanitizer, ArgTest) { in TEST() function 320 TEST(MemorySanitizer, CallAndRet) { in TEST() function 334 TEST(MemorySanitizer, DISABLED_MallocNoIdent) { in TEST() function 340 TEST(MemorySanitizer, Malloc) { in TEST() function 346 TEST(MemorySanitizer, Realloc) { in TEST() function [all …]
|
| /netbsd-src/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 67 TEST(DISABLED_BENCH, Mop4Write) { in TEST() function 71 TEST(DISABLED_BENCH, Mop8) { 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 68 TEST(ThreadSanitizer, WriteThenLockedRead) { in TEST() function 87 TEST(ThreadSanitizer, LockedWriteThenRead) { in TEST() function 107 TEST(ThreadSanitizer, RaceWithOffset) { in TEST() function [all …]
|
| /netbsd-src/tests/bin/sh/ |
| H A D | t_fsplit.sh | 47 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} su [all...] |
| /netbsd-src/usr.bin/make/unit-tests/ |
| H A D | var-recursive.mk | |
| /netbsd-src/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 || 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/gpl2/gmake/dist/tests/scripts/options/ |
| H A D | dash-q | 6 # TEST 0 25 # TEST 1 29 # TEST 2 33 # TEST 3 37 # TEST 4 41 # TEST 5 45 # TEST 6 49 # TEST 7 : Savannah bug # 7144
|
| /netbsd-src/external/lgpl3/mpfr/dist/tests/ |
| H A D | tbeta.c | 42 #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/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_allocator_test.cc | 173 TEST(SanitizerCommon, DefaultSizeClassMap) { in TEST() function 177 TEST(SanitizerCommon, CompactSizeClassMap) { in TEST() function 181 TEST(SanitizerCommon, VeryCompactSizeClassMap) { in TEST() function 185 TEST(SanitizerCommon, InternalSizeClassMap) { in TEST() function 189 TEST(SanitizerCommon, DenseSizeClassMap) { in TEST() function 266 TEST(SanitizerCommon, SizeClassAllocator64) { in TEST() function 270 TEST(SanitizerCommon, SizeClassAllocator64Dynamic) { in TEST() function 276 TEST(SanitizerCommon, SizeClassAllocator64Compact) { in TEST() function 280 TEST(SanitizerCommon, SizeClassAllocator64Dense) { in TEST() function 285 TEST(SanitizerCommon, SizeClassAllocator64VeryCompact) { in TEST() function [all …]
|