/illumos-gate/usr/src/test/os-tests/tests/zen_umc/ |
H A D | zen_umc_test.c | 105 zen_umc_test_fabric_one(const umc_fabric_test_t *test) in zen_umc_test_fabric_one() argument 109 (void) printf("Running test: %s\n", test->uft_desc); in zen_umc_test_fabric_one() 110 if (test->uft_compose) { in zen_umc_test_fabric_one() 115 valid = zen_fabric_id_valid_parts(test->uft_decomp, in zen_umc_test_fabric_one() 116 test->uft_sock_id, test->uft_die_id, test->uft_comp_id); in zen_umc_test_fabric_one() 118 if (test->uft_valid) { in zen_umc_test_fabric_one() 128 if (!test->uft_valid) { in zen_umc_test_fabric_one() 134 zen_fabric_id_compose(test->uft_decomp, test->uft_sock_id, in zen_umc_test_fabric_one() 135 test->uft_die_id, test->uft_comp_id, &fab); in zen_umc_test_fabric_one() 136 if (fab != test->uft_fabric_id) { in zen_umc_test_fabric_one() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_test.c | 100 struct test_info *test; in ac_mem_test_start() local 153 for (test = test_base; test != NULL; test = test->next) { in ac_mem_test_start() 154 if (test->board == softsp->board && in ac_mem_test_start() 155 test->bank == pkt->bank) in ac_mem_test_start() 158 if (test == NULL) { in ac_mem_test_start() 169 if (ddi_copyout(&test->info, pkt->cmd_cfga.private, in ac_mem_test_start() 185 test = kmem_zalloc(sizeof (struct test_info), KM_SLEEP); in ac_mem_test_start() 186 test->va = vmem_alloc(heap_arena, PAGESIZE, VM_SLEEP); in ac_mem_test_start() 189 test->mem_info = mem_info; in ac_mem_test_start() 190 test->board = softsp->board; in ac_mem_test_start() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/threads/ |
H A D | thread_name.c | 50 int test; in main() local 55 test = 1; in main() 60 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main() 63 test = 2; in main() 69 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main() 74 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main() 77 test = 3; in main() 82 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main() 85 test = 4; in main() 90 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/ |
H A D | tst.br.d.out | 1 test:entry 2 test:0 3 test:4 4 test:8 5 test:c 6 test:10 7 test:14 8 test:18 9 test:1c 10 test:20 [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/imc/ |
H A D | imc_test.c | 154 imc_test_run_one(const imc_test_case_t *test) in imc_test_run_one() argument 159 imc_print("Running test: %s\n", test->itc_desc); in imc_test_run_one() 160 imc_print("\tDecoding address: 0x%" PRIx64 "\n", test->itc_pa); in imc_test_run_one() 163 pass = imc_decode_pa(test->itc_imc, test->itc_pa, &dec); in imc_test_run_one() 164 if (pass && !test->itc_pass) { in imc_test_run_one() 167 imc_test_strerror(test->itc_fail), in imc_test_run_one() 168 imc_test_strenum(test->itc_fail), in imc_test_run_one() 169 test->itc_fail); in imc_test_run_one() 185 if (test->itc_nodeid != UINT32_MAX && in imc_test_run_one() 186 test->itc_nodeid != dec.ids_nodeid) { in imc_test_run_one() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/regex/ |
H A D | testregex.c | 574 quote(char* s, int len, unsigned long test) in quote() argument 587 else if (test & TEST_EXPAND) in quote() 592 if (test & TEST_DELIMIT) in quote() 601 if (test & TEST_DELIMIT) in quote() 646 if (test & TEST_DELIMIT) in quote() 654 …ort(char* comment, char* fun, char* re, char* s, int len, char* msg, int flags, unsigned long test) in report() argument 662 quote(re, -1, test|TEST_DELIMIT); in report() 666 quote(s, len, test|TEST_DELIMIT); in report() 669 if (test & TEST_UNSPECIFIED) in report() 717 bad(char* comment, char* re, char* s, int len, unsigned long test) in bad() argument [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/minttl/ |
H A D | minttl.c | 368 ttl_bind_dest(const ttl_test_t *test, int sock, struct sockaddr_storage *dst) in ttl_bind_dest() argument 375 if (test->tt_domain == PF_INET) { in ttl_bind_dest() 381 "to an IPv4 address", test->tt_desc); in ttl_bind_dest() 391 "to an IPv6 address", test->tt_desc); in ttl_bind_dest() 399 test->tt_desc); in ttl_bind_dest() 406 test->tt_desc); in ttl_bind_dest() 418 ttl_connect(const ttl_test_t *test, int port, int src, int dst, int *cfd, in ttl_connect() argument 422 int namelen = test->tt_domain == PF_INET ? sizeof (struct sockaddr_in) : in ttl_connect() 428 warn("TEST FAILED: %s: failed to listen", test->tt_desc); in ttl_connect() 433 warn("TEST FAILED: %s: failed to connect", test->tt_desc); in ttl_connect() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/t/ |
H A D | Kstat.t | 27 # test script for Sun::Solaris::Kstat 58 my ($test, $ks); 59 $test = 2; 61 print("not ok $test: $@"); 63 print("ok $test\n"); 65 $test++; 69 print("not ok $test: $@"); 71 print("ok $test\n"); 73 $test++; 81 print("ok $test\n"); [all …]
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | multi-reader-lock.c | 120 bool test; in main() local 131 test = true; in main() 135 test = false; in main() 142 test = false; in main() 149 test = false; in main() 153 if (test) { in main() 167 test = true; in main() 171 test = false; in main() 178 test = false; in main() 185 test = false; in main() [all …]
|
H A D | basic-lock.c | 78 basic_lock_test(const basic_lock_test_t *test, int fd) in basic_lock_test() argument 84 lock.nil_common.nioc_nsid = test->blt_nsid; in basic_lock_test() 85 lock.nil_ent = test->blt_ent; in basic_lock_test() 86 lock.nil_level = test->blt_level; in basic_lock_test() 90 unlock.niu_common.nioc_nsid = test->blt_nsid; in basic_lock_test() 91 unlock.niu_ent = test->blt_ent; in basic_lock_test() 96 test->blt_desc, i); in basic_lock_test() 100 "driver error 0x%x", test->blt_desc, i, in basic_lock_test() 105 test->blt_desc, i); in basic_lock_test() 114 test->blt_desc, i); in basic_lock_test() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/tcpsig/ |
H A D | tcpsig.c | 373 tcpsig_bind_dest(const tcpsig_test_t *test, int sock, in tcpsig_bind_dest() argument 381 if (test->tt_domain == PF_INET) { in tcpsig_bind_dest() 384 in->sin_port = htons(test->tt_port); in tcpsig_bind_dest() 387 "to an IPv4 address", test->tt_desc); in tcpsig_bind_dest() 394 in6->sin6_port = htons(test->tt_port); in tcpsig_bind_dest() 397 "to an IPv6 address", test->tt_desc); in tcpsig_bind_dest() 405 test->tt_desc); in tcpsig_bind_dest() 412 test->tt_desc); in tcpsig_bind_dest() 424 tcpsig_connect(const tcpsig_test_t *test, int port, int src, int dst, int *cfd, in tcpsig_connect() argument 428 int namelen = test->tt_domain == PF_INET ? sizeof (struct sockaddr_in) : in tcpsig_connect() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | nvlist_to_lua.c | 86 test(const char *testname, boolean_t expect_success, boolean_t expect_match) in test() function 140 test("boolean", B_TRUE, B_FALSE); in run_tests() 143 test("boolean_value", B_FALSE, B_FALSE); in run_tests() 146 test("byte", B_FALSE, B_FALSE); in run_tests() 149 test("int8", B_FALSE, B_FALSE); in run_tests() 152 test("uint8", B_FALSE, B_FALSE); in run_tests() 155 test("int16", B_FALSE, B_FALSE); in run_tests() 158 test("uint16", B_FALSE, B_FALSE); in run_tests() 161 test("int32", B_FALSE, B_FALSE); in run_tests() 164 test("uint32", B_FALSE, B_FALSE); in run_tests() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/uccid/ |
H A D | atrparse.c | 564 atr_parse_failed(atr_test_t *test, const char *fmt, ...) in atr_parse_failed() argument 569 (void) fprintf(stderr, "Test \"%s\" failed: ", test->ar_test); in atr_parse_failed() 576 atr_parse_one(atr_data_t *data, atr_test_t *test) in atr_parse_one() argument 586 ret = atr_parse(test->ar_buf, test->ar_len, data); in atr_parse_one() 587 if (ret != test->ar_retval) { in atr_parse_one() 588 atr_parse_failed(test, "found unexpected return " in atr_parse_one() 590 test->ar_retval); in atr_parse_one() 607 if (sup != test->ar_sup) { in atr_parse_one() 608 atr_parse_failed(test, "Found mismatched supported " in atr_parse_one() 609 "protocols: %u, expected: %u", sup, test->ar_sup); in atr_parse_one() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | memleak.test | 14 # $Id: memleak.test,v 1.3 2004/02/12 18:46:39 drh Exp $ 31 # each round of the test. This number should be constant. If it 37 all.test 38 quick.test 39 malloc.test 40 misuse.test 41 memleak.test 42 btree2.test 43 trans.test 47 attach.test \ [all …]
|
H A D | quick.test | 14 # $Id: quick.test,v 1.6 2004/02/11 02:18:07 drh Exp $ 23 all.test 24 quick.test 25 btree2.test 26 malloc.test 27 memleak.test 28 misuse.test 33 attach.test \ 34 attach2.test \ 35 auth.test \ [all …]
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | strlen.S | 60 test %edx, %edx 71 test %edx, %edx /* if no null byte, %edx must be 0 */ 77 test %edx, %edx 83 test %edx, %edx 89 test %edx, %edx 113 test %dl, %dl 115 test $0x01, %dl 118 test $0x02, %dl 122 test $0x04, %dl 125 test $0x08, %dl [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/files/ |
H A D | gout.t10.6 | 1 test.o.0:1:foo 2 test.o.0:1:foo 3 test.o.0:1:foo 4 test.o.0:2:foo 5 test.o.0:2:Foo 6 test.o.0:4:foo 7 test.o.0:5:foo 8 test.o.0:6:Foo 9 test.o.0:7:sdf; 10 test.o.0:7:sfd; [all …]
|
H A D | gout.t10.7 | 1 test.o.0:0:1:foo 2 test.o.0:0:1:foo 3 test.o.0:0:1:foo 4 test.o.0:0:2:foo 5 test.o.0:0:2:Foo 6 test.o.0:0:4:foo 7 test.o.0:0:5:foo 8 test.o.0:0:6:Foo 9 test.o.0:0:7:sdf; 10 test.o.0:0:7:sfd; [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | mutex-16200.c | 133 const mutex_test_t *test = arg; in mutex_test_thr() local 135 if ((test->mt_flags & MUTEX_TEST_F_USE_ATTR) != 0) { in mutex_test_thr() 139 if ((test->mt_flags & MUTEX_TEST_F_SET_TYPE) != 0) { in mutex_test_thr() 141 test->mt_type)); in mutex_test_thr() 145 if ((test->mt_flags & MUTEX_TEST_F_UNLOCK) != 0) { in mutex_test_thr() 146 if ((test->mt_flags & MUTEX_TEST_F_ILLUMOS) != 0) { in mutex_test_thr() 149 VERIFY0(mutex_init(&m, test->mt_type, NULL)); in mutex_test_thr() 161 if ((test->mt_flags & MUTEX_TEST_F_ILLUMOS) != 0) { in mutex_test_thr() 164 VERIFY0(mutex_init(&m, test->mt_type, NULL)); in mutex_test_thr() 223 mutex_test_run_one(const mutex_test_t *test) in mutex_test_run_one() argument [all …]
|
/illumos-gate/usr/src/test/nvme-tests/tests/libnvme/ |
H A D | sctostr.c | 162 sct_test_one(const sct_test_t *test) in sct_test_one() argument 164 const char *str = nvme_scttostr(NULL, test->st_code); in sct_test_one() 165 if (strcmp(str, test->st_str) != 0) { in sct_test_one() 167 "not %s", test->st_code, str, test->st_str); in sct_test_one() 172 test->st_code); in sct_test_one() 177 sc_test_one(const sc_test_t *test) in sc_test_one() argument 179 const char *str = nvme_sctostr(NULL, test->sc_csi, test->sc_sct, in sc_test_one() 180 test->sc_sc); in sc_test_one() 181 if (strcmp(str, test->sc_str) != 0) { in sc_test_one() 183 "to string %s, not %s", test->sc_csi, test->sc_sct, in sc_test_one() [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-test-testrunner.p5m | 17 set name=pkg.fmri value=pkg:/system/test/testrunner@$(PKGVERS) 23 dir path=opt/test-runner 24 dir path=opt/test-runner/bin 26 file path=opt/test-runner/bin/run mode=0555 \ 28 dir path=opt/test-runner/man 29 dir path=opt/test-runner/man/man1 30 file path=opt/test-runner/man/man1/run.1 mode=0444 31 dir path=opt/test-runner/stf 32 dir path=opt/test-runner/stf/contrib 33 dir path=opt/test-runner/stf/contrib/include [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/execvpe/ |
H A D | execvpe-test.c | 66 execvpe_test_one(const execvpe_test_t *test) in execvpe_test_one() argument 73 if (test->et_path != NULL) { in execvpe_test_one() 74 if (setenv("PATH", test->et_path, 1) != 0) { in execvpe_test_one() 76 "failed to set PATH", test->et_desc); in execvpe_test_one() 81 "failed to unset PATH", test->et_desc); in execvpe_test_one() 90 argv[0] = test->et_prog; in execvpe_test_one() 96 (void) execvpe(test->et_prog, (char * const *)argv, in execvpe_test_one() 99 if (test->et_pass) { in execvpe_test_one() 101 "but no such luck", test->et_desc); in execvpe_test_one() 103 } else if (test->et_errno != e) { in execvpe_test_one() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/libjedec/ |
H A D | libjedec_temp.c | 47 libjedec_temp_run_single(const libjedec_temp_test_t *test) in libjedec_temp_run_single() argument 52 res = libjedec_temp_range(test->ltt_temp, &min, &max); in libjedec_temp_run_single() 53 if (res != test->ltt_res) { in libjedec_temp_run_single() 54 if (test->ltt_res) { in libjedec_temp_run_single() 68 if (min != test->ltt_min) { in libjedec_temp_run_single() 70 "found %d\n", test->ltt_min, min); in libjedec_temp_run_single() 73 if (max != test->ltt_max) { in libjedec_temp_run_single() 75 "found %d\n", test->ltt_max, max); in libjedec_temp_run_single() 87 const libjedec_temp_test_t *test = &temp_tests[i]; in main() local 89 if (libjedec_temp_run_single(test)) { in main() [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | configure.ac | 37 if test "x$enable_maintainer_mode" = xyes; then 39 if test -z "$PERL"; then 45 if test "x$CFLAGS" = x; then 49 if test "x$host_cpu" = xx86_64; then 69 if test "x$with_binutils" != x; then 79 if test "x$ac_cv_prog_gcc" = xyes; then 80 if test "x$default_CFLAGS" = xyes; then 84 if test "x$with_binutils" != x; then 95 if test "x$size_flag" = xyes; then 112 if test "x$no_stack_protector_flag" = xyes; then [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/wcsrtombs/ |
H A D | wcsrtombs_test.c | 73 struct wcsrtombs_test *test; member 81 test_wcsrtombs_1(const char *locale, struct wcsrtombs_test *test) in test_wcsrtombs_1() argument 97 for (int i = 0; test[i].mbs[0] != 0; i++) { in test_wcsrtombs_1() 99 const wchar_t *wcs = test[i].wcs; in test_wcsrtombs_1() 105 if (cnt != strlen(test[i].mbs)) { in test_wcsrtombs_1() 107 cnt, strlen(test[i].mbs)); in test_wcsrtombs_1() 109 if (strcmp(mbs, test[i].mbs) != 0) { in test_wcsrtombs_1() 111 mbs, test[i].mbs); in test_wcsrtombs_1() 121 test_wcsrtombs_l(const char *locale, struct wcsrtombs_test *test) in test_wcsrtombs_l() argument 143 for (int i = 0; test[i].mbs[0] != 0; i++) { in test_wcsrtombs_l() [all …]
|