Home
last modified time | relevance | path

Searched refs:testname (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dcomvario.sh419 typeset testname="test2/${testid}"
423 (( out.res == 0 )) || err_exit "${testname}: Test shell returned with exit code ${out.res}"
427 read -C val <<<"${out.stdout}" || err_exit "${testname}: read -C val failed with exit code $?"
429 (( ar[aa] == 4 )) || err_exit "${testname}: Expected ar[aa] == 4, got ${ar[aa]}"
430 (( ar[bb] == 9 )) || err_exit "${testname}: Expected ar[bb] == 9, got ${ar[bb]}"
582 …test_variants+=( testname="${0}/${i}/plain" cmd="$cmd" typeset -a stdoutpattern=( "${tst.stdoutpat…
586 …test_variants+=( testname="${0}/${i}/read_in_function" cmd="$cmd" typeset -a stdoutpattern=( "${ts…
656 typeset testname
664 testname="${0}/${tcpi}/${spwi}/"
669 …[[ "${out.stderr}" == '' ]] || err_exit "${testname}: Expected empty stderr, got $(printf '%q\n' "…
[all …]
H A Dmath.sh74 typeset testname
157 testname="${0}/${cmd}"
162 …[[ "${out.stdout}" == ${tst.stdoutpattern} ]] || err_exit "${testname}: Expected stdout to ma…
163 …[[ "${out.stderr}" == '' ]] || err_exit "${testname}: Expected empty stderr, got $(printf '%q\n'…
164 (( out.res == 0 )) || err_exit "${testname}: Unexpected exit code ${out.res}"
H A Darrays2.sh193 typeset testname
198 testname="${0}/${i}"
202 …[[ "${out.stdout}" == ${tst.stdoutpattern} ]] || err_exit "${testname}: Expected stdout to ma…
203 …[[ "${out.stderr}" == '' ]] || err_exit "${testname}: Expected empty stderr, got $(printf '%q\n'…
204 (( out.res == 0 )) || err_exit "${testname}: Unexpected exit code ${out.res}"
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh92 typeset testname
126 testname="${cut_cmd}/${tc.name}"
147 …L} -c "${cut_cmd} \"\$@\"" dummy "${cut_args[@]}" 2>&1)" || err_exit "${testname}: Command returne…
148 …[[ "${out}" == ${output_format} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "$…
172 …elim) -f1 "mb.eucjp" | od -tx1' dummy "${cutcmd}" 2>&1 ) || err_exit "${testname}: Test failed wit…
173 …[[ "${out}" == $'0000000 a4 a2 0a\n0000003' ]] || err_exit "${testname}: Expected \$'0000000 a4 a2…
H A Dsun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh88 typeset testname
117 testname="${join_cmd}/${tc.name}"
141 …out="$(${SHELL} -c "${join_cmd} \"\$@\"" dummy "${join_args[@]}" 2>&1)" || err_exit "${testname}: …
142 …[[ "${out}" == ${output_format} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "$…
169 …-t $(cat delim) input1 input2' dummy "${joincmd}" 2>&1 ) || err_exit "${testname}: Test failed wit…
170 [[ "${out}" == 'f1' ]] || err_exit "${testname}: Expected 'f1', got $(printf "%q\n" "${out}")"
H A Dsun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh121 typeset testname
148 testname="$( printf "test |%#B|\n" vari )"
168 …${SHELL} ${vari.shell_options} "testscript.sh" >/dev/null 2>&1 || err_exit "${testname}: Unexpecte…
175 err_exit "${testname}: File 'log' not found."
177 …[[ "${out}" == $'TRAP A\nTRAP B' ]] || err_exit "${testname}: Expected \$'TRAP A\nTRAP B', got $(p…
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh94 typeset testname
142 testname="${wc_cmd}/${tc.name}"
152 …} -c "${wc_cmd} \"\$@\"" dummy "${tc.wc_args[@]}" 2>&1)" || err_exit "${testname}: Command returne…
153 …[[ "${out}" == ${tc.output_pattern} ]] || err_exit "${testname}: Expected match for $(printf "%q\n…
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dtest.c60 sm_test_begin(argc, argv, testname) in sm_test_begin() argument
63 char *testname;
83 (void) fprintf(stdout, Help, argv[0], testname);
/illumos-gate/usr/src/cmd/logadm/
H A Dtester165 $testname = $opt_s;
168 print "$myname: $testname setup complete, to run, cd to:\n";
180 $testname = $_;
181 print "Running $testname...";
193 print STDERR " or use: $myname -s $testname $bindir\n";
202 print STDERR " or use: $myname -s $testname $bindir\n";
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/
H A Dnvlist_to_lua.c86 test(const char *testname, boolean_t expect_success, boolean_t expect_match) in test() argument
92 (void) printf("\nrunning test '%s'; input:\n", testname); in test()
113 "case: %s\n", testname); in test()
118 (void) printf("unexpected FAIL of case: %s\n", testname); in test()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c100 char testname[MDB_SYM_NAMLEN]; in read_fsname() local
155 if (mdb_lookup_by_addr(vfsp, MDB_SYM_EXACT, testname, sizeof (testname), in read_fsname()
157 if ((strlen(testname) > 4) && in read_fsname()
158 (strcmp(testname + strlen(testname) - 4, "_vfs") == 0)) { in read_fsname()
159 testname[strlen(testname) - 4] = '\0'; in read_fsname()
160 strncpy(fsname, testname, _ST_FSTYPSZ); in read_fsname()
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_loc.c1073 char *name, *testname; in loc_set_enabled() local
1076 nwam_loc_get_name(testloch, &testname) == NWAM_SUCCESS && in loc_set_enabled()
1077 strcmp(name, testname) == 0) { in loc_set_enabled()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1646 char testname[_POSIX_PATH_MAX]; in create_test_file() local
1652 snprintf(testname, sizeof (testname), "%s.test.%lu", in create_test_file()
1664 if ((fp = fopen(testname, "w")) == 0) in create_test_file()