Home
last modified time | relevance | path

Searched refs:errx (Results 1 – 25 of 263) sorted by relevance

1234567891011

/illumos-gate/usr/src/test/libc-tests/tests/threads/
H A Dthread_name.c60 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); 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()
82 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
90 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
98 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
103 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
111 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
116 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
125 errx(EXIT_FAILURE, "test %d failed with %d", test, rc); in main()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_einval.c37 errx(1, "TEST FAILED: failed to return EINVAL on NULL buffer"); in main()
41 errx(1, "TEST FAILED: failed to return EINVAL on NULL nvl " in main()
46 errx(1, "TEST FAILED: failed to return EINVAL on bad page " in main()
51 errx(1, "TEST FAILED: failed to return EINVAL on bad page " in main()
56 errx(1, "TEST FAILED: failed to return EINVAL on bad page " in main()
61 errx(1, "TEST FAILED: failed to return EINVAL on bad 8476 " in main()
66 errx(1, "TEST FAILED: failed to return EINVAL on bad 8476 " in main()
72 errx(1, "TEST FAILED: failed to return EINVAL on bad 8476 " in main()
77 errx(1, "TEST FAILED: failed to return EINVAL on bad 8476 " in main()
82 errx(1, "TEST FAILED: failed to return EINVAL on bad 8635 " in main()
[all …]
H A Dlibsff_lengths.c51 errx(1, "TEST FAILED: failed to parse SFP length " in main()
58 errx(1, "TEST FALIED: found unexpected return value " in main()
73 errx(1, "TEST FAILED: failed to parse SFP length " in main()
80 errx(1, "TEST FALIED: failed to find length for key " in main()
96 errx(1, "TEST FAILED: failed to parse QSFP length " in main()
103 errx(1, "TEST FALIED: found unexpected return value " in main()
117 errx(1, "TEST FAILED: failed to parse QSFP length " in main()
124 errx(1, "TEST FALIED: failed to find length for key " in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dtime_data.c46 errx(EXIT_FAILURE, "unexpected %s %u != %u", in should_eq_u32()
55 errx(EXIT_FAILURE, "unexpected %s %lu != %lu", in should_eq_u64()
65 errx(EXIT_FAILURE, "unexpected %s %lu < %lu", in should_geq_u64()
73 errx(EXIT_FAILURE, "unexpected %s %ld < %ld", in should_geq_i64()
92 errx(EXIT_FAILURE, "VMM_DATA_READ of time info failed"); in test_valid_read_time_data()
118 errx(EXIT_FAILURE, "VMM_DATA_WRITE of time info failed"); in test_valid_write_time_data()
140 errx(EXIT_FAILURE, in test_invalid_read_time_data()
145 errx(EXIT_FAILURE, "test_invalid_read_time_data: " in test_invalid_read_time_data()
169 errx(EXIT_FAILURE, in test_invalid_write_time_data()
174 errx(EXIT_FAILURE, "test_invalid_write_time_data: " in test_invalid_write_time_data()
[all …]
H A Dcpuid_ioctl.c51 errx(EXIT_FAILURE, in main()
57 errx(EXIT_FAILURE, in main()
64 errx(EXIT_FAILURE, "could not allocate cpuid entries"); in main()
71 errx(EXIT_FAILURE, in main()
79 errx(EXIT_FAILURE, in main()
86 errx(EXIT_FAILURE, in main()
105 errx(EXIT_FAILURE, in main()
109 errx(EXIT_FAILURE, in main()
119 errx(EXIT_FAILURE, in main()
123 errx(EXIT_FAILURE, in main()
[all …]
H A Dauto_destruct.c41 errx(EXIT_FAILURE, "could open test VM"); in main()
52 errx(EXIT_FAILURE, "could not disable auto-destruct"); in main()
62 errx(EXIT_FAILURE, "could not clean up instance"); in main()
68 errx(EXIT_FAILURE, "could open test VM"); in main()
71 errx(EXIT_FAILURE, "could not enable auto-destruct"); in main()
87 errx(EXIT_FAILURE, "could open test VM"); in main()
90 errx(EXIT_FAILURE, "could not enable auto-destruct"); in main()
94 errx(EXIT_FAILURE, "could open drv_test device"); in main()
97 errx(EXIT_FAILURE, "could not hold VM from vmm_drv device"); in main()
116 errx(EXIT_FAILURE, "could not release VM from vmm_drv device"); in main()
H A Dpause_resume.c67 errx(EXIT_FAILURE, "could not open test VM"); in main()
83 errx(EXIT_FAILURE, "VM unexpectedly in paused state"); in main()
92 errx(EXIT_FAILURE, "VM no in expected paused state"); in main()
97 errx(EXIT_FAILURE, "VM_PAUSE should have failed"); in main()
101 errx(EXIT_FAILURE, "VM_PAUSE unexpected errno: %d != %d", in main()
109 errx(EXIT_FAILURE, "VM_RUN should have failed"); in main()
113 errx(EXIT_FAILURE, "VM_RUN unexpected errno: %d != %d", in main()
123 errx(EXIT_FAILURE, "VM unexpectedly in paused state"); in main()
128 errx(EXIT_FAILURE, "VM_RESUME should have failed"); in main()
132 errx(EXIT_FAILURE, "VM_RESUME unexpected errno: %d != %d", in main()
H A Dnpt_ops.c68 errx(EXIT_FAILURE, "unexpected errno %d != %d", in expect_errno()
134 errx(EXIT_FAILURE, "first page not marked dirty"); in test_legacy()
138 errx(EXIT_FAILURE, in test_legacy()
160 errx(EXIT_FAILURE, "expected dirty tracking to be active"); in test_toggle_tracking()
170 errx(EXIT_FAILURE, "expected dirty tracking to be inactive"); in test_toggle_tracking()
180 errx(EXIT_FAILURE, in test_toggle_tracking()
252 errx(EXIT_FAILURE, in test_op_get_dirty()
265 errx(EXIT_FAILURE, in test_op_get_dirty()
292 errx(EXIT_FAILURE, "unexpected dirty count after OP_SET_DIRTY"); in test_op_set_dirty()
336 errx(EXIT_FAILURE, in test_op_reset_dirty()
[all …]
H A Ddatarw_constraints.c39 errx(EXIT_FAILURE, "unexpected %s %u != %u", in should_eq_u32()
72 errx(EXIT_FAILURE, "invalid VM_DATA_READ should have failed"); in test_size_boundaries()
76 errx(EXIT_FAILURE, "expected ENOSPC errno, got %d", error); in test_size_boundaries()
85 errx(EXIT_FAILURE, "invalid VM_DATA_WRITE should have failed"); in test_size_boundaries()
89 errx(EXIT_FAILURE, "expected ENOSPC errno, got %d", error); in test_size_boundaries()
249 errx(EXIT_FAILURE, in test_bogus_class()
257 errx(EXIT_FAILURE, in test_bogus_class()
282 errx(EXIT_FAILURE, in test_vcpuid_combos()
301 errx(EXIT_FAILURE, in test_vcpuid_combos()
335 errx(EXIT_FAILURE, in test_vcpuid_combos()
[all …]
H A Dimport_vlapic.c97 errx(EXIT_FAILURE, "CCR not clamped: %lx != %x", in test_ccr_clamp()
133 errx(EXIT_FAILURE, "ICR_TIMER is 0"); in test_timer_icr_constraints()
136 errx(EXIT_FAILURE, "vlapic timer not scheduled"); in test_timer_icr_constraints()
149 errx(EXIT_FAILURE, "ICR_TIMER is not 0"); in test_timer_icr_constraints()
152 errx(EXIT_FAILURE, "vlapic timer should not be scheduled"); in test_timer_icr_constraints()
163 errx(EXIT_FAILURE, in test_timer_icr_constraints()
177 errx(EXIT_FAILURE, "could not open test VM"); in main()
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_nsmgmt.c53 errx(-1, "failed to parse %s unit suffix: %s", desc, eptr); in nvmeadm_parse_units()
65 errx(-1, "%s value %s would overflow a " in nvmeadm_parse_units()
75 errx(-1, "invalid %s unit suffix: %s", desc, eptr); in nvmeadm_parse_units()
148 errx(-1, "unknown option: -%c", optopt); in optparse_create_ns()
150 errx(-1, "option -%c requires an argument", optopt); in optparse_create_ns()
155 errx(-1, "only one of -b and -f may be specified"); in optparse_create_ns()
159 errx(-1, "at least one of -b and -f must be specified"); in optparse_create_ns()
167 errx(-1, "failed to parse formatted LBA index: %s is " in optparse_create_ns()
192 errx(-1, "unknown CSI type string: '%s'; valid values " in optparse_create_ns()
205 errx(-1, "unknown nmic string: '%s'; valid values are " in optparse_create_ns()
[all …]
H A Dnvmeadm_phyeye.c291 errx(-1, "invalid quality value %s: valid " in optparse_measure_phyeye_cmd()
297 errx(-1, "unknown option: -%c", optopt); in optparse_measure_phyeye_cmd()
299 errx(-1, "option -%c requires an argument", optopt); in optparse_measure_phyeye_cmd()
304 errx(-1, "missing required output file (-o)"); in optparse_measure_phyeye_cmd()
382 errx(-1, "timed out waiting for the phyeye measurement to finish after " in nvmeadm_phyeye_wait()
535 errx(-1, "failed to determine full phyeye log length"); in do_measure_phyeye_cmd()
552 errx(-1, "PHY eye measurement generation unexpectedly changed: " in do_measure_phyeye_cmd()
604 errx(-1, "failed to parse eye: value %s is " in optparse_report_phyeye_cmd()
616 errx(-1, "failed to parse lane: value %s is " in optparse_report_phyeye_cmd()
627 errx(-1, "invalid mode value: %s: valid values " in optparse_report_phyeye_cmd()
[all …]
H A Dnvmeadm.c1109 errx(-1, "failed to get a valid minor path"); in nvme_dskname()
1116 errx(-1, "encountered malformed minor path: %s", path); in nvme_dskname()
1180 errx(-1, "unknown option: -%c", optopt); in optparse_list()
1183 errx(-1, "option -%c requires an argument", optopt); in optparse_list()
1188 errx(-1, "only one of -c and -L may be selected"); in optparse_list()
1192 errx(-1, "-o can only be used when in parsable mode (-p)"); in optparse_list()
1203 errx(-1, "parsable mode (-p) requires one to specify output " in optparse_list()
1220 errx(-1, "location information unavailable: unable to " in optparse_list()
1226 errx(-1, "location information unavailable: unable to " in optparse_list()
1435 errx(-1, "%s passed extraneous arguments starting with %s", in do_list()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c85 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p, in decode_addrport()
92 errx(1, "internal error: addrlen < res->ai_addrlen"); in decode_addrport()
111 errx(1, "proxy read too long"); in proxy_read_line()
143 errx(1, "Unable to read proxy passphrase"); in getproxypass()
169 errx(1, "unknown port \"%.64s\"", port); in socks_connect()
174 errx(1, "Too many authentication failures"); in socks_connect()
199 errx(1, "authentication method negotiation failed"); in socks_connect()
208 errx(1, "host name too long for SOCKS5"); in socks_connect()
246 errx(1, "internal error: silly AF"); in socks_connect()
262 errx(1, "connection failed, SOCKS error %d", buf[1]); in socks_connect()
[all …]
H A Dnetcat.c178 errx(1, "unsupported proxy protocol"); in main()
189 errx(1, "interval %s: %s", errstr, optarg); in main()
197 errx(1, "ttl is %s: %s, valid values are " in main()
204 errx(1, "minimum ttl is %s: %s, valid values " in main()
238 errx(1, "timeout %s: %s", errstr, optarg); in main()
268 errx(1, "cannot use -u and -U"); in main()
290 errx(1, "cannot use -s and -l"); in main()
292 errx(1, "cannot use -r and -l"); in main()
294 errx(1, "cannot use -B and -l"); in main()
303 errx(1, "cannot use -z and -l"); in main()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/cpmvln/
H A Dchecker.c40 errx(EXIT_FAILURE, "missing required arguments"); in main()
52 errx(EXIT_FAILURE, "option -%c requires an operand", c); in main()
54 errx(EXIT_FAILURE, "unknown option -%c", c); in main()
62 errx(EXIT_FAILURE, "expected a file to look at but have %d " in main()
72 errx(EXIT_FAILURE, "missing a check type option"); in main()
75 errx(EXIT_FAILURE, "%s is not a regular file: 0x%x", in main()
78 errx(EXIT_FAILURE, "%s ended up with perms somehow: " in main()
84 errx(EXIT_FAILURE, "%s is not a door: 0x%x", in main()
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_baducontext.c46 errx(EXIT_FAILURE, "TEST FAILED: %s setcontext, took us to success", in bad_success()
120 errx(EXIT_FAILURE, "failed to get unmapped page"); in test_context_badptr2()
136 errx(EXIT_FAILURE, "failed to get allocate ucontext_t"); in setup_context()
199 errx(EXIT_FAILURE, "Option -%c requires an operand\n", in main()
203 errx(EXIT_FAILURE, "Unknown option: -%c\n", optopt); in main()
209 errx(EXIT_FAILURE, "one of -r and -i must be specified"); in main()
213 errx(EXIT_FAILURE, "only one of -r and -i may be specified"); in main()
219 errx(EXIT_FAILURE, "failed to parse test number: %s", argv[1]); in main()
223 errx(EXIT_FAILURE, "test number %lu is too large\n", l); in main()
251 errx(EXIT_FAILURE, "TEST FAILED: setcontext returned despite us " in main()
H A Dxregs_roundtrip.c48 errx(EXIT_FAILURE, "failed to grab ourself: %s", in main()
60 errx(EXIT_FAILURE, "failed to grab our sleeper thread: %s", in main()
86 errx(EXIT_FAILURE, "xreg length changed across a write: " in main()
100 errx(EXIT_FAILURE, "xregs were not the same!"); in main()
115 errx(EXIT_FAILURE, "failed to get sleeper thread control d"); in main()
124 errx(EXIT_FAILURE, "writev returned %zd, but expected -1", in main()
129 errx(EXIT_FAILURE, "xregs error was not EBUSY, got %d!", errno); in main()
H A Dfpregs.c52 errx(EXIT_FAILURE, "missing args: <prog> <output file> " in main()
59 errx(EXIT_FAILURE, "seed value is bad: %s", argv[3]); in main()
64 errx(EXIT_FAILURE, "seed %s outside of [0, UINT32_MAX]", in main()
99 errx(EXIT_FAILURE, "fpregs do not reflect xsave changes!"); in main()
118 errx(EXIT_FAILURE, "fpregs do not reflect xsave changes!"); in main()
123 errx(EXIT_FAILURE, "%%ymm state changed across fpregs write"); in main()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dlogin.c138 errx(1, gettext("failed to parse %s"), argv[optind]); in cmd_login()
149 errx(1, gettext("failed to get defaults")); in cmd_login()
173 errx(1, gettext("failed to add keychain entry")); in cmd_login()
202 errx(1, in cmd_logout()
218 errx(1, gettext("failed to parse %s"), argv[optind]); in cmd_logout()
229 errx(1, gettext("failed to get defaults")); in cmd_logout()
240 errx(1, gettext("failed to delete keychain entry")); in cmd_logout()
263 errx(1, in cmd_logoutall()
267 errx(1, gettext("Failed to delete all keychain entries: %s\n"), in cmd_logoutall()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c124 errx(EXIT_FAILURE, gettext("Usage:\tipsecalgs\n" in usage()
146 errx(EXIT_FAILURE, gettext("Out of memory.")); in bail_nomem()
221 errx(EXIT_FAILURE, gettext("cannot get execution mode for " in synch_emit_proto()
300 errx(EXIT_FAILURE, gettext("algs update short write")); in kernel_synch()
312 errx(EXIT_FAILURE, gettext( in kernel_synch()
359 errx(EXIT_FAILURE, gettext("dump algs short write")); in list_kernel_algs()
371 errx(EXIT_FAILURE, gettext( in list_kernel_algs()
391 errx(EXIT_FAILURE, gettext("invalid extension " in list_kernel_algs()
396 errx(EXIT_FAILURE, in list_kernel_algs()
451 errx(EXIT_FAILURE, gettext("duplicate number " in list_kernel_algs()
[all …]
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm_bar.c275 errx(EXIT_USAGE, "-p requires fields specified with -o"); in pcieadm_bar_list()
310 errx(EXIT_FAILURE, "reg[] property has wrong shape, found %d " in pcieadm_bar_list()
317 errx(EXIT_FAILURE, "failed to read offset %u from device " in pcieadm_bar_list()
330 errx(EXIT_FAILURE, "unsupported PCI header type: 0x%x", in pcieadm_bar_list()
342 errx(EXIT_FAILURE, "failed to read BAR data form " in pcieadm_bar_list()
497 errx(EXIT_FAILURE, "failed to parse %s %s", desc, reg); in pcieadm_bar_parse_u64()
512 errx(EXIT_FAILURE, "failed to parse length %s", len); in pcieadm_bar_parse_len()
516 errx(EXIT_FAILURE, "invalid byte length 0x%lx: only 1, 2, 4, " in pcieadm_bar_parse_len()
530 errx(EXIT_FAILURE, "failed to parse BAR %s: value is %s", bar, in pcieadm_bar_parse_bar()
582 errx(EXIT_FAILURE, "missing required register"); in pcieadm_bar_read()
[all …]
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dconfig.c59 errx(4, "Failed to allocate memory"); in _lookup_config_node()
96 errx(4, "Failed to allocate memory"); in _lookup_config_node()
101 errx(4, "Failed to allocate memory"); in _lookup_config_node()
104 errx(4, "Failed to retrieve new nvlist"); in _lookup_config_node()
149 errx(4, "Invalid config node name %s", name); in set_config_value_node()
155 errx(4, in set_config_value_node()
187 errx(4, "Failed to allocate memory"); in set_config_value()
190 errx(4, "Failed to create configuration node %s", in set_config_value()
199 errx(4, "Attempting to add value %s to existing node %s", in set_config_value()
229 errx(4, "Failed to allocate memory"); in get_raw_config_value()
[all …]
/illumos-gate/usr/src/cmd/i2cadm/
H A Di2cadm_io.c394 errx(EXIT_FAILURE, "missing required I/O read length " in i2cadm_io_parse_rw_len()
399 errx(EXIT_FAILURE, "missing required I/O write length " in i2cadm_io_parse_rw_len()
404 errx(EXIT_FAILURE, "I/O mode %s requires at least one or both " in i2cadm_io_parse_rw_len()
417 errx(EXIT_FAILURE, "I/O mode %s does not allow " in i2cadm_io_parse_rw_len()
424 errx(EXIT_FAILURE, "invalid read length: %s is %s, " in i2cadm_io_parse_rw_len()
431 errx(EXIT_FAILURE, "I/O mode %s has a fixed read " in i2cadm_io_parse_rw_len()
444 errx(EXIT_FAILURE, "I/O mode %s does not allow " in i2cadm_io_parse_rw_len()
451 errx(EXIT_FAILURE, "invalid write length: %s is %s, " in i2cadm_io_parse_rw_len()
458 errx(EXIT_FAILURE, "I/O mode %s has a fixed write " in i2cadm_io_parse_rw_len()
488 errx(EXIT_FAILURE, "fatal internal error, cannot handle " in i2cadm_io_parse_data()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/err/
H A Derr.c82 errx(EXIT_FAILURE, "Unhandled variant in %s", __func__); in xtest()
108 errx(EXIT_FAILURE, "-x: %s", errstr); in main()
114 errx(EXIT_FAILURE, "-v: %s", errstr); in main()
135 errx(EXIT_FAILURE, "Unknown variant %lld", num); in main()
141 errx(EXIT_FAILURE, "-x: %s", errstr); in main()
154 errx(EXIT_FAILURE, "Unexpected argument '%s'.", argv[1]); in main()
173 errx(exitcode, "E/%d/%d", variant, exitcode); in main()

1234567891011