Home
last modified time | relevance | path

Searched refs:warn (Results 1 – 25 of 326) 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/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/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/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"
83 warn "failed to show devices"
89 warn "failed to create temporary directory"
99 warn "failed to obtain bdf based filter"
110 warn "failed to obtain driver based filter"
123 warn "failed to obtain path based filter"
[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 …]
H A Deventfd.c37 warn("Reading %u/%u got ret %d (expected 0)", in readn()
65 warn("no semaphores read expected EAGAIN but got"); in check_nosem()
91 warn("bad write expected EINVAL but got"); in check_badwrite()
116 warn("Error while returning two semaphores"); in main()
120 warn("Error while returning three semaphores"); in main()
/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/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/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.c140 warn("failed to retrieve registers for cpu %d", cpuid); in kmt_stack_common()
200 warn("port address must be 0-%#x\n", IOPORTLIMIT); in kmt_io_check()
206 warn("port access must be 1, 2, or 4 bytes\n"); in kmt_io_check()
212 warn("address for %llu-byte access must be %llu-byte " in kmt_io_check()
241 warn("failed to read from port 0x%llx", (u_longlong_t)addr); in kmt_in_dcmd()
272 warn("value is out of range for port size\n"); in kmt_out_dcmd()
277 warn("failed to write to port %llx", (u_longlong_t)addr); in kmt_out_dcmd()
311 warn("rdmsr failed"); in kmt_rdmsr()
332 warn("wrmsr failed"); in kmt_wrmsr()
408 warn("invalid bus number (must be 0-0xffff)\n"); in kmt_pcicfg_common()
[all …]
/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/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/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/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 …]
/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()
1624 warn(gettext("Refreshed %s.\n"), fmri); in refresh_entity()
1729 warn(gettext("Refreshed %s:%s.\n"), in refresh_entity()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/pcidb/
H A Dpcidbtest.ksh25 function warn function
40 warn "invalid filter $filt erroneously worked"
52 warn "should have failed with args "$@", but passed"
63 warn "should have failed with args "$@", but passed"
74 warn "should have passed with args "$@", but failed"
90 warn "failed to run pcidb with args: $@"
96 warn "output mismatch with args: $@\n found: $output\n" \
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c67 warn(char *format, ...) in warn() function
141 warn(gettext("cannot %s pid %d: %s\n"), msg, in bind_err()
144 warn(gettext("cannot %s lwpid %d/%d: %s\n"), msg, in bind_err()
189 warn(gettext("cannot control process %d: %s\n"), in grab_proc()
200 warn(gettext("cannot control process %d\n"), (int)pid); in grab_proc()
301 warn(gettext("cannot %s lwpid %d/%s: " in do_lwps()
456 warn(gettext("options -b, -e, -q, -Q, -u and -U " in main()
470 warn(gettext("must specify at least one pid\n")); in main()
474 warn(gettext("must specify command\n")); in main()
502 warn(gettext("invalid processor ID\n")); in main()
[all …]
/illumos-gate/usr/src/tools/cpcgen/
H A Dcpcgen.c848 warn("failed to assemble manual page name for %s", in cpcgen_manual_intel_name()
864 warn("failed to duplicate manual name for %s", map->cmap_name); in cpcgen_manual_intel_file_before()
874 warn("failed to write out manual header for %s", in cpcgen_manual_intel_file_before()
890 warn("failed to write out model " in cpcgen_manual_intel_file_before()
899 warn("failed to write out model information " in cpcgen_manual_intel_file_before()
907 warn("failed to write out manual header for %s", in cpcgen_manual_intel_file_before()
919 warn("failed to write out manual header for %s", in cpcgen_manual_intel_file_after()
963 warn("failed to write out event entry %s", event); in cpcgen_manual_intel_event()
970 warn("failed to write out event entry %s", event); in cpcgen_manual_intel_event()
976 warn("failed to write out event entry %s", event); in cpcgen_manual_intel_event()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/tcpsig/
H A Dtcpsig.c404 warn("TEST FAILED: %s: failed to bind listen socket", in tcpsig_bind_dest()
411 warn("TEST FAILED: %s: failed to retrieve socket address ", in tcpsig_bind_dest()
435 warn("TEST FAILED: %s: failed to listen", test->tt_desc); in tcpsig_connect()
446 warn("TEST FAILED: %s: failed to connect", test->tt_desc); in tcpsig_connect()
462 warn("TEST FAILED: %s: timed out waiting to connect", in tcpsig_connect()
483 warn("TEST FAILED: %s: timed out waiting to accept", in tcpsig_connect()
496 warn("TEST FAILED: %s: failed to get client connection", in tcpsig_connect()
503 warn("TEST FAILED: %s: failed to retrieve accepted socket " in tcpsig_connect()
509 warn("TEST FAILED: %s: TCP_MD5SIG option has wrong length %d " in tcpsig_connect()
556 warn("TEST FAILED: %s: failed to write message to socket", in tcpsig_sendrecv()
[all …]

12345678910>>...14