/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 141 test->mt_type)); 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 233 "thread for %s", test->mt_desc); in mutex_test_run_one() 250 "deadlocked\n", test->mt_desc); in mutex_test_run_one() 257 "value %d", test->mt_desc, test->mt_ret); in mutex_test_run_one() 265 "returned %d", test->mt_desc, lock); in mutex_test_run_one() 267 } else if (lock != test->mt_ret) { in mutex_test_run_one() 269 test->mt_desc, lock, test->mt_ret); in mutex_test_run_one() [all …]
|
/illumos-gate/usr/src/tools/findunref/ |
H A D | exception_list.open | 60 # Ignore internal test directories and test programs. 63 */test 66 ./usr/src/cmd/ldap/common/*test.c 71 ./usr/src/lib/crypt_modules/sha256/test.c 72 ./usr/src/lib/libkvm/common/test.c 201 ./usr/src/cmd/sgs/test
|
/illumos-gate/usr/src/test/nvme-tests/tests/unit/ |
H A D | logs.c | 739 info = log_test_find_info(test->lst_desc, test->lst_short); in log_scope_test_one() 743 test->lst_desc, scope, test->lst_exp_scope); in log_scope_test_one() 758 info = log_test_find_info(test->lt_desc, test->lt_short); in log_size_test_one() 761 if (len != test->lt_size) { in log_size_test_one() 763 PRIu64, test->lt_desc, test->lt_size, len); in log_size_test_one() 767 test->lt_desc); in log_size_test_one() 770 if (var != test->lt_var) { in log_size_test_one() 772 test->lt_desc, test->lt_var, var); in log_size_test_one() 776 test->lt_desc); in log_size_test_one() 788 info = log_test_find_info(test->lit_desc, test->lit_short); in log_impl_test_one() [all …]
|
H A D | version.c | 76 vers_test_one(const nvme_version_test_t *test) in vers_test_one() argument 78 bool res = nvme_vers_atleast(test->nvt_dev, test->nvt_targ); in vers_test_one() 79 if (res != test->nvt_pass) { in vers_test_one() 83 test->nvt_desc, test->nvt_dev->v_major, in vers_test_one() 84 test->nvt_dev->v_minor, test->nvt_targ->v_major, in vers_test_one() 85 test->nvt_targ->v_minor, rstr); in vers_test_one() 88 (void) printf("TEST PASSED: %s\n", test->nvt_desc); in vers_test_one()
|
H A D | controllers.c | 314 nvme_unit_field_test_one(const nvme_unit_field_test_t *test) in nvme_unit_field_test_one() argument 321 field = &test->nu_fields[test->nu_index]; in nvme_unit_field_test_one() 322 err = nvme_field_validate(field, test->nu_data, test->nu_value, buf, in nvme_unit_field_test_one() 325 if (err != test->nu_ret) { in nvme_unit_field_test_one() 327 "expected %s (%u)", test->nu_desc, in nvme_unit_field_test_one() 329 nvme_field_error_to_str(test->nu_ret), test->nu_ret); in nvme_unit_field_test_one() 334 test->nu_desc); in nvme_unit_field_test_one() 336 warnx("TEST FAILED: %s: error buffer was empty", test->nu_desc); in nvme_unit_field_test_one() 340 test->nu_desc); in nvme_unit_field_test_one() 345 test->nu_desc); in nvme_unit_field_test_one()
|
H A D | feature.c | 388 feature_impl_test_one(const feature_impl_test_t *test) in feature_impl_test_one() argument 394 if (nvme_std_feats[i].nfeat_fid == test->fit_fid) { in feature_impl_test_one() 402 test->fit_desc, test->fit_fid); in feature_impl_test_one() 405 impl = nvme_feat_supported(info, test->fit_data); in feature_impl_test_one() 406 if (impl != test->fit_impl) { in feature_impl_test_one() 408 test->fit_desc, test->fit_impl, impl); in feature_impl_test_one() 412 (void) printf("TEST PASSED: %s: got correct impl\n", test->fit_desc); in feature_impl_test_one()
|
H A D | identify.c | 448 identify_impl_test_one(const identify_impl_test_t *test) in identify_impl_test_one() argument 455 nvme_identify_cmds[i].nii_cns == test->iit_cns) { in identify_impl_test_one() 463 test->iit_desc, test->iit_cns); in identify_impl_test_one() 466 impl = nvme_identify_info_supported(info, test->iit_data); in identify_impl_test_one() 467 if (impl != test->iit_impl) { in identify_impl_test_one() 469 test->iit_desc, test->iit_impl, impl); in identify_impl_test_one() 473 (void) printf("TEST PASSED: %s: got correct impl\n", test->iit_desc); in identify_impl_test_one()
|
/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 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() 184 test->sc_sc, str, test->sc_str); in sc_test_one() [all …]
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | basic-lock.c | 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() 91 unlock.niu_ent = test->blt_ent; in basic_lock_test() 96 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() 133 lock.nil_common.nioc_nsid = test->blt_nsid; in basic_lock_test_no_ns_ctrl() 134 lock.nil_ent = test->blt_ent; in basic_lock_test_no_ns_ctrl() 135 lock.nil_level = test->blt_level; in basic_lock_test_no_ns_ctrl() [all …]
|
H A D | ctrl-block-lock.c | 153 ctrl_block_test_one(int fd0, int fd1, const ctrl_block_test_t *test) in ctrl_block_test_one() argument 155 nvme_ioctl_lock_t lock0 = *test->cbt_lock0; in ctrl_block_test_one() 156 nvme_ioctl_lock_t lock1 = *test->cbt_lock1; in ctrl_block_test_one() 160 test->cbt_desc); in ctrl_block_test_one() 164 "expected success", test->cbt_desc, in ctrl_block_test_one() 171 test->cbt_desc); in ctrl_block_test_one() 173 } else if (lock1.nil_common.nioc_drv_err != test->cbt_ret1) { in ctrl_block_test_one() 175 "expected 0x%x", test->cbt_desc, in ctrl_block_test_one() 176 lock1.nil_common.nioc_drv_err, test->cbt_ret1); in ctrl_block_test_one() 180 (void) printf("TEST PASSED: %s\n", test->cbt_desc); in ctrl_block_test_one()
|
H A D | lock-order.c | 94 if (test->lot_locks[i] == NULL) in lock_verify_write_before_read() 124 "(%s)", test->lot_desc, i, res->loi_thread, in lock_verify_write_before_read() 153 if (test->lot_locks[i] == NULL) in lock_verify_ctrl_before_ns() 183 "(%s)", test->lot_desc, i, res->loi_thread, in lock_verify_ctrl_before_ns() 205 if (!lock_verify_ctrl_before_ns(test, nthr)) in lock_verif_ent_level() 207 if (!lock_verify_write_before_read(test, nthr)) in lock_verif_ent_level() 321 lock_order_test(const lock_order_test_t *test) in lock_order_test() argument 343 if (test->lot_locks[i] == NULL) in lock_order_test() 351 test->lot_desc, i); in lock_order_test() 377 test->lot_desc, i); in lock_order_test() [all …]
|
H A D | lock-signal.c | 63 const lock_sig_test_t *test = arg; in lock_signal_thr() local 64 nvme_ioctl_lock_t lock = *test->lss_lock; in lock_signal_thr() 86 test->lss_desc, NVME_IOCTL_E_LOCK_WAIT_SIGNAL, in lock_signal_thr() 91 "interrupted\n", test->lss_desc); in lock_signal_thr() 98 lock_signal_one(const lock_sig_test_t *test) in lock_signal_one() argument 105 ret = thr_create(NULL, 0, lock_signal_thr, (void *)test, 0, &thr); in lock_signal_one() 109 test->lss_desc); in lock_signal_one() 124 test->lss_desc, thr); in lock_signal_one() 130 "because we failed to join thread %u", test->lss_desc, thr); in lock_signal_one() 135 nvme_ioctl_test_lock(fd, test->lss_lock); in lock_signal_one() [all …]
|
H A D | multi-lock-err.c | 95 nvme_ioctl_lock_t lock = *test->rlt_lock; in rec_lock_test() 100 test->rlt_desc, type); in rec_lock_test() 104 "0x%x, expected success", test->rlt_desc, type, in rec_lock_test() 109 lock = *test->rlt_lock; in rec_lock_test() 113 test->rlt_desc, type); in rec_lock_test() 119 test->rlt_desc, type, lock.nil_common.nioc_drv_err, in rec_lock_test() 130 nvme_ioctl_lock_t lock = *test->nlt_lock; in ns_lock_test() 135 test->nlt_desc, type); in ns_lock_test() 140 test->nlt_desc, type, lock.nil_common.nioc_drv_err, in ns_lock_test() 141 test->nlt_err); in ns_lock_test() [all …]
|
H A D | multi-reader-lock.c | 120 bool test; in main() local 131 test = true; in main() 153 if (test) { in main() 167 test = true; in main() 189 if (test) { in main() 203 test = true; in main() 225 if (test) { in main() 238 test = true; in main() 256 if (test) { in main() 288 if (test) { in main() [all …]
|
H A D | basic-get-log.c | 50 basic_get_one_log(int fd, const log_test_t *test) in basic_get_one_log() argument 56 if ((data = calloc(test->lt_len, 1)) == NULL) { in basic_get_one_log() 58 "log page data", test->lt_desc, test->lt_len); in basic_get_one_log() 63 log.nigl_lid = test->lt_lid; in basic_get_one_log() 64 log.nigl_len = test->lt_len; in basic_get_one_log() 69 test->lt_desc); in basic_get_one_log() 73 "but expected success", test->lt_desc, in basic_get_one_log() 80 "page command\n", test->lt_desc); in basic_get_one_log() 84 "invalid data, found 0x%x", test->lt_desc, t); in basic_get_one_log() 88 "initial scrutiny\n", test->lt_desc); in basic_get_one_log()
|
H A D | bad-lock.c | 246 bad_lock_test(int fd, const bad_lock_test_t *test, bool ns) in bad_lock_test() argument 248 nvme_ioctl_lock_t lock = test->blt_lock; in bad_lock_test() 253 test->blt_desc, type); in bad_lock_test() 257 if (lock.nil_common.nioc_drv_err != test->blt_err) { in bad_lock_test() 259 "expected 0x%x", test->blt_desc, type, in bad_lock_test() 260 lock.nil_common.nioc_drv_err, test->blt_err); in bad_lock_test() 271 nvme_ioctl_unlock_t unlock = test->but_unlock; in bad_unlock_test() 276 test->but_desc, type); in bad_unlock_test() 280 if (unlock.niu_common.nioc_drv_err != test->but_err) { in bad_unlock_test() 282 "expected 0x%x", test->but_desc, type, in bad_unlock_test() [all …]
|
/illumos-gate/usr/src/test/crypto-tests/runfiles/ |
H A D | default.run | 25 # into every test case. Bump the timeout until this is no longer a problem.
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-test-utiltest.p5m | 1112 file path=opt/util-tests/tests/ctf/test-merge-dedup/test-merge-1.c mode=0555 1113 file path=opt/util-tests/tests/ctf/test-merge-dedup/test-merge-2.c mode=0555 1114 file path=opt/util-tests/tests/ctf/test-merge-dedup/test-merge-3.c mode=0555 1118 file path=opt/util-tests/tests/ctf/test-merge-forward/test-impl.c mode=0555 1119 file path=opt/util-tests/tests/ctf/test-merge-forward/test-merge.c mode=0555 1128 file path=opt/util-tests/tests/ctf/test-merge-static/test-a.c mode=0555 1129 file path=opt/util-tests/tests/ctf/test-merge-static/test-b.c mode=0555 1130 file path=opt/util-tests/tests/ctf/test-merge-static/test-c.c mode=0555 1131 file path=opt/util-tests/tests/ctf/test-merge-static/test-d.c mode=0555 1132 file path=opt/util-tests/tests/ctf/test-merge-static/test-main.c mode=0555 [all …]
|
H A D | system-test-cryptotest.p5m | 20 set name=pkg.fmri value=pkg:/system/test/cryptotest@$(PKGVERS) 243 depend type=require fmri=system/test/testrunner
|
H A D | system-test-libctest.p5m | 22 set name=pkg.fmri value=pkg:/system/test/libctest@$(PKGVERS) 286 license usr/src/test/libc-tests/tests/regex/THIRDPARTYLICENSE \ 287 license=usr/src/test/libc-tests/tests/regex/THIRDPARTYLICENSE 297 depend type=require fmri=system/test/testrunner
|
H A D | system-test-nettest.p5m | 16 set name=pkg.fmri value=pkg:/system/test/nettest@$(PKGVERS) 58 depend type=require fmri=system/test/testrunner
|
H A D | system-test-nvmetest.p5m | 22 set name=pkg.fmri value=pkg:/system/test/nvmetest@$(PKGVERS) 91 depend type=require fmri=system/test/testrunner
|
H A D | system-bhyve-tests.p5m | 97 depend type=require fmri=system/test/testrunner
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 4170 # remove km as per tack test -TD 4349 # remove km as per tack test -TD 4725 # Issues found with ncurses test-program: 14653 #ESC c n enter self-test mode: 14654 # n = 0 exit self test mode 14655 # n = 1 ROM test 14656 # n = 2 RAM test 14657 # n = 3 NVRAM test 14658 # n = 4 screen display test 14660 # n = 6 mouse port test [all …]
|
H A D | termcap.src | 3653 # remove km as per tack test -TD 3817 # remove km as per tack test -TD 4132 # Issues found with ncurses test-program: 12997 #ESC c n enter self-test mode: 12998 # n = 0 exit self test mode 12999 # n = 1 ROM test 13000 # n = 2 RAM test 13001 # n = 3 NVRAM test 13002 # n = 4 screen display test 13004 # n = 6 mouse port test [all …]
|