Home
last modified time | relevance | path

Searched refs:warn (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/test/util-tests/tests/ar/
H A Dartest.ksh46 function warn function
61 warn "failed to dump -g $comp"
66 warn "failed to nm $comp"
71 warn "$base.dump and $comp.dump don't match"
76 warn "$base.dump and $comp.dump don't match"
90 warn "failed to create basic archive $ar_f01"
94 warn "failed to create basic archive $ar_f10"
98 warn "failed to dump archive $ar_f01"
102 warn "failed to dump archive $ar_f10"
106 warn "failed to nm archive $ar_f01"
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c293 warn("EOF mistakenly set on write"); in fmemopen_fill_putc()
298 warn("feof not set on write past the end"); in fmemopen_fill_putc()
303 warn("failed to close memory stream"); in fmemopen_fill_putc()
337 warn("EOF mistakenly set on write"); in fmemopen_fill_fwrite()
342 warn("feof not set on write past the end"); in fmemopen_fill_fwrite()
347 warn("failed to close memory stream"); in fmemopen_fill_fwrite()
382 warn("EOF mistakenly set on write"); in fmemopen_fill_alt_fwrite()
387 warn("feof not set on write past the end"); in fmemopen_fill_alt_fwrite()
392 warn("failed to close memory stream"); in fmemopen_fill_alt_fwrite()
430 warn("EOF mistakenly set on write"); in fmemopen_fill_fputs()
[all …]
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c136 warn(gettext("failed to open %s"), dpath); in dconf_open()
145 warn(gettext("failed to open %s"), fpath); in dconf_open()
154 warn(gettext("failed to open stream for %s"), fpath); in dconf_open()
188 warn(gettext("\"%s\", line %d: " in dconf_open()
201 warn(gettext("\"%s\", line %d: warning: " in dconf_open()
206 warn(gettext("\"%s\", line %d: syntax error\n"), in dconf_open()
227 warn(gettext("failed to get kernel dump settings")); in dconf_getdev()
233 warn(gettext("failed to get dump device")); in dconf_getdev()
258 warn(gettext("failed to seek config file")); in dconf_write()
263 warn(gettext("failed to truncate config file")); in dconf_write()
[all …]
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_conf.c57 warn(gettext("SMF initialization problem: %s\n"), in rcfg_read()
64 warn(gettext("Configuration property '%s' " in rcfg_read()
80 warn(gettext("Configuration property '%s' " in rcfg_read()
91 warn(gettext("Configuration property '%s' " in rcfg_read()
102 warn(gettext("Configuration property '%s' " in rcfg_read()
113 warn(gettext("Configuration property '%s' " in rcfg_read()
133 warn(gettext("cannot create statistics file, " "%s"), in rcfg_read()
144 warn(gettext("Unexpected libscf error: %s. \n"), in rcfg_read()
172 warn(gettext("SMF initialization problem: %s\n"), in modify_config()
178 warn(gettext("SMF initialization problem: %s\n"), in modify_config()
[all …]
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c83 warn(char *format, ...) in warn() function
119 warn(gettext("cannot control process %d: %s\n"), in grab_proc()
155 warn(gettext("cannot %s zone %s"), msg, zname); in bind_err()
157 warn(gettext("cannot %s pid %d"), msg, pid); in bind_err()
159 warn(gettext("cannot %s lwpid %d/%d"), msg, pid, lwpid); in bind_err()
317 warn(gettext("cannot remove processor %d"), cpu); in do_cpu()
320 warn(gettext("cannot query processor %d"), cpu); in do_cpu()
323 warn(gettext("cannot assign processor %d"), cpu); in do_cpu()
350 warn(gettext("no processors in range %d-%d\n"), first, last); in do_range()
367 warn(gettext("memory allocation failed")); in do_info()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/
H A Dodirectory.c85 warn("failed to create temp file %s", odir_fpath); in odir_setup()
94 warn("failed to create temp directory %s", odir_dpath); in odir_setup()
107 warn("failed to create %s", odir_doorpath); in odir_setup()
113 warn("failed to attach door to %s", odir_doorpath); in odir_setup()
127 warn("failed to create UDS"); in odir_setup()
142 warn("failed to bind %s", odir_udspath); in odir_setup()
148 warn("failed to listen on %s", odir_udspath); in odir_setup()
164 warn("TEST FAILED: stat on %s failed", odir_enoent); in odir_verify_enoent()
174 warn("failed to unlink %s", odir_udspath); in odir_cleanup()
180 warn("failed to close UDS"); in odir_cleanup()
[all …]
H A Dclock_gettime.c52 warn("failed to get psinfo for process"); in clock_gettime_proc()
65 warn("failed to get lwpsinfo for thread %u", thr_self()); in clock_gettime_thread()
91 warn("failed to get clock %u", test->cgt_clock); in clock_test()
99 warn("failed to get clock %u", test->cgt_clock); in clock_test()
172 warn("failed to get clock CLOCK_VIRTUAL"); in clock_test_cputime_thr()
179 warn("failed to get clock CLOCK_VIRTUAL"); in clock_test_cputime_thr()
212 warn("failed to get clock CLOCK_VIRTUAL"); in clock_test_thread_clock()
225 warn("failed to get clock CLOCK_THREAD_CPUTIME_ID"); in clock_test_thread_clock()
255 warn("failed to get clock CLOCK_THREAD_CPUTIME_ID"); in clock_test_thread_sys()
260 warn("failed to get clock CLOCK_VIRTUAL"); in clock_test_thread_sys()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/pcieadm/
H A Dpcieadm-priv.ksh33 warn() function
46 warn "failed to show-devs with filter $filter"
52 warn "show-devs $filter 9000/9000/9000, should have failed"
58 warn "failed to show-cfgspace with filter $filter"
64 warn "failed to use save-cfgspace -d $filter"
73 warn "should have failed with args "$@", but passed"
93 warn "failed to show devices"
99 warn "failed to create temporary directory"
109 warn "failed to obtain bdf based filter"
120 warn "failed to obtain driver based filter"
[all …]
/illumos-gate/usr/src/test/os-tests/tests/cores/scripts/
H A Dcoretests.ksh54 warn() function
73 warn "failed to spawn $core_dumper32: $cont $kpath"
88 warn "failed to gcore $pid: $prog $cont $kpath"
100 warn "checker failed for kernel $c"
106 warn "checker failed for gcore of $c"
112 warn "missing expected files"
117 warn "failed to create temporary directory: $core_tmpdir"
/illumos-gate/usr/src/test/elf-tests/tests/capabilities/
H A Dobjcap.ksh45 warn() function
159 warn "elfdump -H $file failed with $?"
191 warn "elfdump -H $file missing ${caps[$i]}"
198 warn "failed to dump ${ee[$i]} from $file via elfedit"
203 warn "mismatched value for ${ee[$i]} in $file: found " \
231 warn "exec prog $case returned $ret, expected 0"
233 warn "exec prog $case returned $ret, expected non-zero"
257 warn "elfedit -e $cap $cmd $input worked, expected failure"
265 warn "elfedit -e $cap $cmd $input failed with $ret, expected success"
271 warn "failed to extract hwcap after elfedit -e $cap $cmd $input"
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkaif.c274 warn("couldn't find tr_iret_user\n"); in kaif_toxic_text()
277 warn("couldn't find tr_mmu_flush_user_range\n"); in kaif_toxic_text()
295 warn("%a cannot be a breakpoint target\n", addr); in kaif_brkpt_arm()
350 warn("I/O port watchpoints must be read/write\n"); in kaif_wapt_validate()
355 warn("I/O watchpoint size must be 1, 2, or 4 bytes\n"); in kaif_wapt_validate()
360 warn("physical address watchpoints are not supported on this " in kaif_wapt_validate()
367 warn("watchpoints must be read/write or write-only\n"); in kaif_wapt_validate()
373 warn("data watchpoint size must be " WAPT_DATA_SIZES_MSG in kaif_wapt_validate()
381 warn("%lu-byte watchpoints must be %lu-byte aligned\n", in kaif_wapt_validate()
484 warn("%a cannot be stepped\n", pc); in kaif_step()
[all …]
H A Dkvm_isadep.c144 warn("failed to retrieve registers for cpu %d", cpuid); in kmt_stack_common()
219 warn("port address must be 0-%#x\n", IOPORTLIMIT); in kmt_io_check()
225 warn("port access must be 1, 2, or 4 bytes\n"); in kmt_io_check()
231 warn("address for %llu-byte access must be %llu-byte " in kmt_io_check()
260 warn("failed to read from port 0x%llx", (u_longlong_t)addr); in kmt_in_dcmd()
291 warn("value is out of range for port size\n"); in kmt_out_dcmd()
296 warn("failed to write to port %llx", (u_longlong_t)addr); in kmt_out_dcmd()
330 warn("rdmsr failed"); in kmt_rdmsr()
351 warn("wrmsr failed"); in kmt_wrmsr()
427 warn("invalid bus number (must be 0-0xffff)\n"); in kmt_pcicfg_common()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dmdb_xregs.ksh45 warn() function
79 warn "failed to generate $act"
85 warn "$desc: $act did not match expected output"
130 warn "mdb failed to get ::fpregs from $core"
150 warn "failed to determine $isa-bit FPU type"
164 warn "missing core file location file, cannot run core tests"
172 warn "core file location $f is not a file"
180 warn "No core files found!"
/illumos-gate/usr/src/test/os-tests/tests/spoof-ras/
H A Dspoof-ras.c78 warn("Unable to get link-local address"); in spoof_get_lla()
87 warn("Failed to get link-layer address"); in spoof_get_lla()
153 warn("Failed to set IPV6_UNICAST_HOPS socket option"); in spoof_set_max_hops()
158 warn("Failed to set IPV6_UNICAST_HOPS socket option"); in spoof_set_max_hops()
198 warn("Failed to send ICMPv6 message"); in spoof_bad_lla_optlen_test()
208 warn("Failed to send ICMPv6 message"); in spoof_bad_lla_optlen_test()
220 warn("Failed to send ICMPv6 message"); in spoof_bad_lla_optlen_test()
260 warn("Failed to send ICMPv6 message"); in spoof_bad_pi_optlen_test()
269 warn("Failed to send ICMPv6 message"); in spoof_bad_pi_optlen_test()
279 warn("Failed to send ICMPv6 message"); in spoof_bad_pi_optlen_test()
[all …]
/illumos-gate/usr/src/test/i2c-tests/tests/i2cadm/
H A Dcommon.ksh51 function warn function
90 warn "should have failed with args $@, but passed"
92 warn "args $@ failed with status $ret, expected 1 or 2"
105 warn "$@ failed with status $?, but expected success"
126 warn "$@ failed with status $ret, but expected success"
131 warn "$@ had unexpected output ($out), expected: $exp"
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dstrtox.c74 warn("Locale %s, function %s: consumed %td characters" \ in test_locale()
83 warn("Locale %s: strtof_l: mismatched value %f vs %f", in test_locale()
91 warn("Locale %s: strtod_l: mismatched value %f vs %f", in test_locale()
99 warn("Locale %s: strtold_l: mismatched value %Lf vs %Lf", in test_locale()
112 warn("Locale %s: strtof: mismatched value %f vs %f", in test_locale()
120 warn("Locale %s: strtod: mismatched value %f vs %f", in test_locale()
128 warn("Locale %s: strtold: mismatched value %Lf vs %Lf", in test_locale()
/illumos-gate/usr/src/cmd/rctladm/
H A Drctladm.c122 warn(gettext("unable to obtain control block contents for %s"), in rctl_save_walk_cb()
181 warn(gettext("\"%s\", line %d, syntax error\n"), CONFIGPATH, in rctladm_setup_action()
232 warn(gettext("\"%s\", line %d, syntax error\n"), in rctladm_read_config()
238 warn(gettext("\"%s\", line %d, unknown resource" in rctladm_read_config()
243 warn(gettext("\"%s\", line %d, syntax error\n"), in rctladm_read_config()
275 warn(gettext("\"syslog\" action not valid for %s\n"), in rctladm_modify_action()
293 warn(gettext("unable to update control block contents")); in rctladm_modify_action()
416 warn(gettext("unknown resource control: %s\n"), in rctl_walk_cb()
419 warn(gettext("unable to obtain %s properties"), in rctl_walk_cb()
483 warn(gettext("-l, -d, and -e flags are exclusive\n")); in main()
[all …]
/illumos-gate/usr/src/cmd/prctl/
H A Dprctl.c249 warn(gettext("unknown idtype %s"), optarg); in main()
289 warn(gettext("unknown privilege %s"), optarg); in main()
311 warn(gettext("invalid pid %s"), optarg); in main()
320 warn(gettext("unknown option")); in main()
329 warn(gettext("no arguments specified")); in main()
341 warn(gettext("-n is required with -s, -r, -x, -e, or -d")); in main()
348 warn(gettext("options -d and -e are exclusive")); in main()
356 warn(gettext("options -s, -r, and -x are exclusive")); in main()
363 warn(gettext("options -e or -d not allowed with -x")); in main()
369 warn(gettext("option -r requires use of option -v")); in main()
[all …]
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c97 warn(gettext("getting '%s' binding for %d: %s\n"), type, in print_resource_binding()
191 warn(gettext("binding to pool '%s': %s\n"), pool_name, in exec_cmd()
230 warn(gettext("invalid zone '%s'\n"), in process_ids()
237 warn(gettext("zone '%s' is not " in process_ids()
244 warn(gettext("failed to get project " in process_ids()
250 warn(gettext("invalid %s '%s'\n"), in process_ids()
260 warn(gettext("binding %s %ld to pool '%s': " in process_ids()
270 warn(gettext("couldn't determine binding for " in process_ids()
285 warn(gettext("couldn't allocate query memory " in process_ids()
/illumos-gate/usr/src/test/util-tests/tests/cpmvln/
H A Doverwrite.ksh74 function warn function
153 warn "$desc: found unexpected file data $data" \
160 warn "$desc: $targ was clobbered"
166 warn "$desc: $targ was is somehow no longer" \
173 warn "$desc: $targ was clobbered"
179 warn "$desc: $targ was is somehow no longer" \
186 warn "$desc: $targ was is somehow no longer" \
193 warn "$desc: directory $targ was removed?!"
214 warn "$desc: $targ wasn't overwritten found $data"
237 warn "$desc: command returned 0, but expected failure"
[all …]
H A Dno-targ.ksh49 function warn function
81 warn "$desc unexpectedly worked"
96 warn "$desc: $check didn't have expected data: " \
117 warn "$desc: failed to run $*"
201 warn "$f -Tn file to dir incorrectly removed dir"
207 warn "$f -Tn file to dir incorrectly created file"
222 warn "$f -Tf file to dir incorrectly removed dir"
228 warn "$f -Tn file to dir incorrectly created file"
291 warn "$f -Tf existing symlink failed"
H A Dln-LP.ksh69 function warn function
116 warn "$desc: $* $src $dst failed unexpectedly"
121 warn "$desc: ln didn't result in expected file $3"
142 warn "$desc: $* unexpectedly worked?!"
195 warn "$desc: $* $src $dst unexpectedly failed"
200 warn "$desc: ln -s somehow ended up with the same inode"
207 warn "$desc: $* $src $dst unexpectedly failed"
212 warn "$desc: ln -s somehow ended up with the same inode"
/illumos-gate/usr/src/tools/scripts/
H A Dxref.sh60 warn() function
186 warn "ignoring unknown cross-reference \"$xref\""
199 warn "directory \"$dir\" does not exist; skipping"
211 warn "directory \"$pwd\" is not beneath \$CODEMGR_WS; skipping"
232 warn "$reldir: unable to find flg-related source files"
251 warn "$reldir: cannot clobber $xref cross-reference"
263 warn "$reldir: cannot clean up temporary files"
/illumos-gate/usr/src/test/util-tests/tests/rm/
H A Drm-test.ksh39 function warn function
78 warn "$desc: $* worked, but expected it to fail with $exp"
83 warn "$desc: failed with $out, but wanted $exp"
102 warn "$desc: expected $f to be removed, but it still" \
123 warn "$desc: expected $f to be present, but it was" \
144 warn "$desc: rm failed, but expected success"
172 warn "$desc: rm failed, but expected success"
209 warn "$desc: rm failed, but expected success"
243 warn "$desc: rm failed, but expected success"
257 warn "expected verbose output $exp, found $out"
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c387 warn(gettext("Unexpected libscf error: %s.\n"), in scfwarn()
745 (void) warn(gettext("Could not close temporary file")); in remove_tempfile()
754 warn(gettext("Could not remove temporary file")); in remove_tempfile()
826 warn(gettext("Could not close repository door"), in start_private_repository()
957 warn(gettext("Cannot access \"%s\": %s\n"), in lscf_set_repository()
1155 warn(gettext("Expected property %s of property group %s is " in pg_get_prop()
1193 warn(gettext("Property %s is not of expected type %s.\n"), in prop_check_type()
1239 warn(emsg, fmri); in prop_get_val()
1623 warn(gettext("Refreshed %s.\n"), fmri); in refresh_entity()
1728 warn(gettext("Refreshed %s:%s.\n"), in refresh_entity()
[all …]

12345678910>>...14