Home
last modified time | relevance | path

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

123456789

/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()
H A Dlibsff_strings.c96 errx(1, "TEST FAILED: failed to parse SFP bad string " in main()
102 errx(1, "TEST FALIED: found unexpected return value " in main()
114 errx(1, "TEST FAILED: failed to parse SFP good string " in main()
120 errx(1, "TEST FALIED: failed to find expected key " in main()
125 errx(1, "TEST FAILED: expected string %s, found %s\n", in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dcpuid_ioctl.c51 errx(EXIT_FAILURE, in main()
57 errx(EXIT_FAILURE, 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()
134 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 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()
140 errx(EXIT_FAILURE, in test_invalid_read_time_data()
169 errx(EXIT_FAILURE, in test_invalid_write_time_data()
206 errx(EXIT_FAILURE, in test_invalid_freq()
212 errx(EXIT_FAILURE, "test_invalid_freq: \ in test_invalid_freq()
344 errx(EXIT_FAILURE, "test_invalid_freq_intel: " in test_invalid_freq_intel()
379 errx(EXIT_FAILURE, "test_invalid_host_times: " in test_invalid_host_times()
[all …]
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 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 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()
336 errx(EXIT_FAILURE, in test_op_reset_dirty()
342 errx(EXIT_FAILURE, in test_op_reset_dirty()
[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/cmd-inet/usr.bin/nc/
H A Dsocks.c111 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()
208 errx(1, "host name too long for SOCKS5"); in socks_connect()
246 errx(1, "internal error: silly AF"); in socks_connect()
294 errx(1, "Invalid hostname"); in socks_connect()
307 errx(1, "hostname too long"); in socks_connect()
328 errx(1, "Proxy auth response too long"); in socks_connect()
351 errx(1, "Proxy error: \"%s\"", buf); in socks_connect()
[all …]
H A Dnetcat.c169 errx(1, "unsupported proxy protocol"); in main()
242 errx(1, "cannot use -u and -U"); in main()
264 errx(1, "cannot use -s and -l"); in main()
266 errx(1, "cannot use -r and -l"); in main()
275 errx(1, "cannot use -z and -l"); in main()
277 errx(1, "must use -l with -k"); in main()
296 errx(1, "no proxy support for listen"); in main()
302 errx(1, "no proxy support for IPv6"); in main()
308 errx(1, "missing port specification"); in main()
335 errx(1, "port number %s: %s", in main()
[all …]
/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/nvmeadm/
H A Dnvmeadm_wdc.c73 errx(-1, "unknown option: -%c", optopt); in optparse_wdc_e6dump()
75 errx(-1, "option -%c requires an argument", optopt); in optparse_wdc_e6dump()
80 errx(-1, "missing required e6dump output file, specify with " in optparse_wdc_e6dump()
181 errx(-1, "e6 header size is too small, 0x%zx bytes does not " in do_wdc_e6dump()
251 errx(-1, "failed to parse resize size %s:" in optparse_wdc_resize()
256 errx(-1, "unknown option: -%c", optopt); in optparse_wdc_resize()
258 errx(-1, "option -%c requires an argument", optopt); in optparse_wdc_resize()
263 errx(-1, "only one of -g and -s may be specified"); in optparse_wdc_resize()
267 errx(-1, "one of -g and -s must be specified"); in optparse_wdc_resize()
317 errx(-1, "%s passed extraneous arguments starting with %s", in do_wdc_inject_assert()
[all …]
H A Dnvmeadm.c1004 errx(-1, "unknown option: -%c", optopt); in optparse_list()
1203 errx(-1, "unknown option: -%c", optopt); in optparse_identify_ctrl()
1373 errx(-1, "unknown option: -%c", optopt); in optparse_identify_ns()
1413 errx(-1, "-a cannot be used on namespaces"); in do_identify_ns()
1519 errx(-1, "unknown option: -%c", optopt); in optparse_identify()
1622 errx(-1, "unknown option: -%c", optopt); in optparse_list_logs()
1979 errx(-1, "unknown option: -%c", optopt); in optparse_get_logpage()
2040 errx(-1, "unknown option: -%c", optopt); in optparse_list_features()
2622 errx(-1, "unexpected arguments"); in do_get_features()
2696 errx(-1, "cannot %s: namespace is inactive", in do_format_common()
[all …]
/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.c312 errx(EXIT_FAILURE, gettext( in kernel_synch()
371 errx(EXIT_FAILURE, gettext( in list_kernel_algs()
396 errx(EXIT_FAILURE, in list_kernel_algs()
518 errx(EXIT_FAILURE, gettext( in list_kernel_algs()
755 errx(EXIT_FAILURE, gettext( in new_proto()
773 errx(EXIT_FAILURE, gettext( in remove_alg()
783 errx(EXIT_FAILURE, gettext( in remove_alg()
789 errx(EXIT_FAILURE, gettext( in remove_alg()
795 errx(EXIT_FAILURE, gettext( in remove_alg()
813 errx(EXIT_FAILURE, gettext( in remove_proto()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
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()
229 errx(4, "Failed to allocate memory"); in get_raw_config_value()
256 errx(4, "Failed to allocate memory"); in _expand_config_value()
294 errx(4, "Failed to allocate memory"); in _expand_config_value()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dexcl-badread.c40 errx(EXIT_FAILURE, "missing required ccid path"); in main()
55 errx(EXIT_FAILURE, "read succeeded when it should have failed " in main()
60 errx(EXIT_FAILURE, "found wrong value for errno. Expected " in main()
70 errx(EXIT_FAILURE, "read succeeded when it should have failed " in main()
75 errx(EXIT_FAILURE, "found wrong value for errno. Expected " in main()
H A Dyk-readonly.c47 errx(EXIT_FAILURE, "missing required ccid path"); in main()
57 errx(EXIT_FAILURE, "didn't fail to issue begin ioctl"); in main()
61 errx(EXIT_FAILURE, "didn't fail to write data"); in main()
70 errx(EXIT_FAILURE, "didn't fail to read data"); in main()
91 errx(EXIT_FAILURE, "didn't fail to power off ICC"); in main()
/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()
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c64 errx(1, "could not read ELF header from %s\n", in walk_symtab()
142 errx(1, "mismatched libctf versions\n"); in main()
145 errx(1, "mismatched libelf versions\n"); in main()
148 errx(2, "usage: %s <file>\n", __progname); in main()
151 errx(1, "failed to ctf_open file: %s: %s\n", argv[1], in main()
155 errx(1, "could not open %s\n", argv[1]); in main()
158 errx(1, "could not interpret ELF from %s\n", in main()

123456789