Home
last modified time | relevance | path

Searched refs:EXIT_FAILURE (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c62 err(EXIT_FAILURE, "%s", errmsg); in dochdir()
72 err(EXIT_FAILURE, "open %s", errmsg); in dofchdir()
74 err(EXIT_FAILURE, "fchdir %s", errmsg); in dofchdir()
85 err(EXIT_FAILURE, "getcwd1"); in simple()
87 errx(EXIT_FAILURE, "strcmp1"); in simple()
90 err(EXIT_FAILURE, "mkdir2"); in simple()
93 err(EXIT_FAILURE, "getcwd2"); in simple()
95 errx(EXIT_FAILURE, "strcmp2"); in simple()
98 err(EXIT_FAILURE, "mkdir3"); in simple()
101 err(EXIT_FAILURE, "getcwd3"); in simple()
[all …]
H A Dh_client.c60 err(EXIT_FAILURE, "pipe"); in main()
66 err(EXIT_FAILURE, "select"); in main()
68 errx(EXIT_FAILURE, "select succesful"); in main()
71 errx(EXIT_FAILURE, "stdin fileno is still set"); in main()
85 err(EXIT_FAILURE, "select"); in main()
87 errx(EXIT_FAILURE, "select succesful"); in main()
91 err(EXIT_FAILURE, "select2"); in main()
93 errx(EXIT_FAILURE, "select2 succesful"); in main()
102 err(EXIT_FAILURE, "open"); in main()
111 errx(EXIT_FAILURE, "poll unexpected rv %d (%d)", in main()
[all …]
H A Dh_netget.c64 return EXIT_FAILURE; in main()
69 err(EXIT_FAILURE, "socket"); in main()
79 err(EXIT_FAILURE, "open"); in main()
81 err(EXIT_FAILURE, "ftruncate savefile"); in main()
84 err(EXIT_FAILURE, "connect"); in main()
87 err(EXIT_FAILURE, "socket write"); in main()
94 err(EXIT_FAILURE, "socket read"); in main()
97 err(EXIT_FAILURE, "write file"); in main()
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_pty.c62 err(EXIT_FAILURE, "malloc(%zu)", buffer_size); in run()
87 err(EXIT_FAILURE, "parent: write()"); in run()
97 err(EXIT_FAILURE, "waitpid"); in run()
99 errx(EXIT_FAILURE, "child failed"); in run()
116 err(EXIT_FAILURE, "Couldn't set tty(4) buffer size"); in condition()
118 err(EXIT_FAILURE, "Couldn't get tty(4) buffer size"); in condition()
120 errx(EXIT_FAILURE, "Wrong qsize %d != %d\n", in condition()
124 err(EXIT_FAILURE, "tcgetattr()"); in condition()
128 err(EXIT_FAILURE, "tcsetattr()"); in condition()
137 err(EXIT_FAILURE, "Couldn't pty(4) device"); in pty_open()
[all …]
/freebsd/contrib/netbsd-tests/fs/tmpfs/
H A Dh_tools.c75 return EXIT_FAILURE; in getfh_main()
89 return EXIT_FAILURE; in getfh_main()
109 return EXIT_FAILURE; in getfh_main()
117 return EXIT_FAILURE; in getfh_main()
135 return EXIT_FAILURE; in kqueue_main()
142 errx(EXIT_FAILURE, "not enough memory"); in kqueue_main()
149 err(EXIT_FAILURE, "cannot open %s", argv[i]); in kqueue_main()
160 err(EXIT_FAILURE, "kqueue"); in kqueue_main()
181 err(EXIT_FAILURE, "kevent"); in kqueue_main()
219 return EXIT_FAILURE; in rename_main()
[all …]
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_pidfile.c79 errx(EXIT_FAILURE, "Cannot open expected pidfile '%s'", path); in check_pidfile()
82 errx(EXIT_FAILURE, "Failed to read pid from pidfile '%s'", in check_pidfile()
87 errx(EXIT_FAILURE, "Pid in pidfile (%d) does not match " in check_pidfile()
99 errx(EXIT_FAILURE, "The pidfile %s was not deleted", in ensure_deleted()
137 errx(EXIT_FAILURE, "Cannot allocate memory for path"); in generate_varrun_pidfile()
150 errx(EXIT_FAILURE, "Failed to create pidfile with default " in helper_default_path()
177 errx(EXIT_FAILURE, "Failed to create pidfile with custom " in helper_custom_basename()
204 errx(EXIT_FAILURE, "Failed to create pidfile '%s'", path); in helper_custom_path()
229 errx(EXIT_FAILURE, "Failed to create pidfile with default " in helper_change_basenames()
233 errx(EXIT_FAILURE, "Failed to recreate pidfile with default " in helper_change_basenames()
[all …]
/freebsd/tools/regression/tmpfs/
H A Dh_tools.c75 return EXIT_FAILURE; in getfh_main()
79 err(EXIT_FAILURE, "can not getfh"); in getfh_main()
84 return EXIT_FAILURE; in getfh_main()
101 return EXIT_FAILURE; in kqueue_main()
108 errx(EXIT_FAILURE, "not enough memory"); in kqueue_main()
115 err(EXIT_FAILURE, "cannot open %s", argv[i]); in kqueue_main()
126 err(EXIT_FAILURE, "kqueue"); in kqueue_main()
147 err(EXIT_FAILURE, "kevent"); in kqueue_main()
185 return EXIT_FAILURE; in rename_main()
189 return EXIT_FAILURE; in rename_main()
[all …]
/freebsd/tools/test/gpioevents/
H A Dgpioevents.c233 err(EXIT_FAILURE, "Cannot read from %s", file); in run_read()
271 err(EXIT_FAILURE, "Cannot poll() %s", file); in run_poll()
281 err(EXIT_FAILURE, "Recieved POLLHUP or POLLERR " in run_poll()
315 err(EXIT_FAILURE, "Cannot select() %s", file); in run_select()
347 err(EXIT_FAILURE, "kqueue() %s", file); in run_kqueue()
352 err(EXIT_FAILURE, "kevent() %s", file); in run_kqueue()
362 err(EXIT_FAILURE, "kevent() %s", file); in run_kqueue()
370 err(EXIT_FAILURE, "Recieved EV_EOF on %s", in run_kqueue()
413 err(EXIT_FAILURE, "Cannot aio_read from %s", file); in run_aio_read()
418 err(EXIT_FAILURE, "aio_error on %s", file); in run_aio_read()
[all …]
/freebsd/contrib/bearssl/tools/
H A Dbrssl.c64 return EXIT_FAILURE; in main()
81 return EXIT_FAILURE; in main()
85 return EXIT_FAILURE; in main()
89 return EXIT_FAILURE; in main()
93 return EXIT_FAILURE; in main()
97 return EXIT_FAILURE; in main()
101 return EXIT_FAILURE; in main()
108 return EXIT_FAILURE; in main()
114 return EXIT_FAILURE; in main()
119 return EXIT_FAILURE; in main()
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dh_fileactions.c59 return EXIT_FAILURE; in main()
65 return EXIT_FAILURE; in main()
73 res = EXIT_FAILURE; in main()
79 res = EXIT_FAILURE; in main()
85 res = EXIT_FAILURE; in main()
91 res = EXIT_FAILURE; in main()
98 res = EXIT_FAILURE; in main()
103 res = EXIT_FAILURE; in main()
108 res = EXIT_FAILURE; in main()
112 res = EXIT_FAILURE; in main()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c119 errx(EXIT_FAILURE, "elf_getshstrndx failed: %s", in is_remove_reloc_sec()
125 errx(EXIT_FAILURE, "gelf_getshdr failed: %s", in is_remove_reloc_sec()
129 errx(EXIT_FAILURE, "elf_strptr failed: %s", in is_remove_reloc_sec()
138 errx(EXIT_FAILURE, "elf_nextscn failed: %s", in is_remove_reloc_sec()
197 err(EXIT_FAILURE, "malloc failed"); in check_section_rename()
291 errx(EXIT_FAILURE, "not enough memory"); in lookup_sec_act()
353 err(EXIT_FAILURE, "calloc failed"); in create_scn()
366 errx(EXIT_FAILURE, "elf_getshstrndx failed: %s", in create_scn()
374 errx(EXIT_FAILURE, "gelf_getshdr failed: %s", in create_scn()
377 errx(EXIT_FAILURE, "elf_strptr failed: %s", in create_scn()
[all …]
H A Dbinary.c58 errx(EXIT_FAILURE, "elf_begin() failed: %s", in create_binary()
64 err(EXIT_FAILURE, "lseek failed"); in create_binary()
120 err(EXIT_FAILURE, "lseek failed"); in create_binary()
124 err(EXIT_FAILURE, "write failed"); in create_binary()
158 err(EXIT_FAILURE, "fstat failed"); in create_elf_from_binary()
162 err(EXIT_FAILURE, "malloc failed"); in create_elf_from_binary()
164 err(EXIT_FAILURE, "read failed"); in create_elf_from_binary()
173 errx(EXIT_FAILURE, "gelf_newehdr failed: %s", in create_elf_from_binary()
176 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf_from_binary()
203 errx(EXIT_FAILURE, "gelf_fsize() failed: %s", elf_errmsg(-1)); in create_elf_from_binary()
[all …]
H A Dmain.c292 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
295 errx(EXIT_FAILURE, "getclass() failed: %s", in create_elf()
304 errx(EXIT_FAILURE, "gelf_newehdr failed: %s", in create_elf()
307 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
329 errx(EXIT_FAILURE, "unsupported e_type"); in create_elf()
332 errx(EXIT_FAILURE, "elf_getshnum failed: %s", in create_elf()
336 err(EXIT_FAILURE, "calloc failed"); in create_elf()
379 errx(EXIT_FAILURE, "gelf_update_ehdr() failed: %s", in create_elf()
400 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
435 errx(EXIT_FAILURE, "gelf_fsize() failed: %s", in create_elf()
[all …]
H A Dsymbols.c277 err(EXIT_FAILURE, "calloc failed"); in mark_reloc_symbols()
280 errx(EXIT_FAILURE, "elf_getshstrndx failed: %s", in mark_reloc_symbols()
286 errx(EXIT_FAILURE, "elf_getshdr failed: %s", in mark_reloc_symbols()
297 errx(EXIT_FAILURE, "elf_strptr failed: %s", in mark_reloc_symbols()
314 errx(EXIT_FAILURE, in mark_reloc_symbols()
320 errx(EXIT_FAILURE, in mark_reloc_symbols()
333 errx(EXIT_FAILURE, "elf_getdata failed: %s", in mark_reloc_symbols()
338 errx(EXIT_FAILURE, "elf_nextscn failed: %s", in mark_reloc_symbols()
353 err(EXIT_FAILURE, "calloc failed"); in mark_section_group_symbols()
356 errx(EXIT_FAILURE, "elf_getshstrndx failed: %s", in mark_section_group_symbols()
[all …]
H A Darchive.c74 errx(EXIT_FAILURE, "elf_begin() failed: %s", in process_ar_obj()
87 err(EXIT_FAILURE, "lseek failed for '%s'", tempfile); in process_ar_obj()
91 errx(EXIT_FAILURE, "elf_begin() failed: %s", in process_ar_obj()
99 err(EXIT_FAILURE, "fstat %s failed", tempfile); in process_ar_obj()
103 err(EXIT_FAILURE, "lseek %s failed", tempfile); in process_ar_obj()
108 err(EXIT_FAILURE, "memory allocation failed for '%s'", in process_ar_obj()
113 err(EXIT_FAILURE, "read failed for '%s'", tempfile); in process_ar_obj()
116 err(EXIT_FAILURE, "unlink %s failed", tempfile); in process_ar_obj()
137 err(EXIT_FAILURE, "malloc failed"); in add_to_ar_str_table()
148 err(EXIT_FAILURE, "realloc failed"); in add_to_ar_str_table()
[all …]
/freebsd/lib/geom/part/
H A Dgeom_part.c333 errx(EXIT_FAILURE, "invalid partition index"); in gpart_autofill_resize()
346 errx(EXIT_FAILURE, "Class %s not found.", s); in gpart_autofill_resize()
349 errx(EXIT_FAILURE, "No such geom: %s.", g); in gpart_autofill_resize()
352 errx(EXIT_FAILURE, "Provider for geom %s not found.", g); in gpart_autofill_resize()
360 errc(EXIT_FAILURE, error, "Invalid alignment param"); in gpart_autofill_resize()
362 errx(EXIT_FAILURE, "Invalid alignment param"); in gpart_autofill_resize()
370 errc(EXIT_FAILURE, error, "internal error"); in gpart_autofill_resize()
378 errc(EXIT_FAILURE, error, "Invalid size param"); in gpart_autofill_resize()
387 errx(EXIT_FAILURE, "Final block not found for geom %s", in gpart_autofill_resize()
398 errx(EXIT_FAILURE, "invalid partition index"); in gpart_autofill_resize()
[all …]
/freebsd/usr.sbin/bluetooth/btpand/
H A Dclient.c64 exit(EXIT_FAILURE); in client_init()
76 exit(EXIT_FAILURE); in client_init()
82 exit(EXIT_FAILURE); in client_init()
92 exit(EXIT_FAILURE); in client_init()
98 exit(EXIT_FAILURE); in client_init()
102 exit(EXIT_FAILURE); in client_init()
108 exit(EXIT_FAILURE); in client_init()
119 exit(EXIT_FAILURE); in client_init()
123 exit(EXIT_FAILURE); in client_init()
149 exit(EXIT_FAILURE); in client_init()
[all …]
/freebsd/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c77 errx(EXIT_FAILURE, "Cannot get address for %s (%s)", in test()
82 err(EXIT_FAILURE, "socket"); in test()
85 err(EXIT_FAILURE, "setsockopt"); in test()
92 err(EXIT_FAILURE, "bind"); in test()
96 err(EXIT_FAILURE, "sendto"); in test()
99 err(EXIT_FAILURE, "close"); in test()
103 err(EXIT_FAILURE, "socket"); in test()
106 err(EXIT_FAILURE, "setsockopt"); in test()
109 err(EXIT_FAILURE, "connect"); in test()
112 err(EXIT_FAILURE, "send"); in test()
[all …]
/freebsd/usr.bin/nl/
H A Dnl.c149 errc(EXIT_FAILURE, EILSEQ, NULL); in main()
156 errc(EXIT_FAILURE, EILSEQ, NULL); in main()
161 errx(EXIT_FAILURE, in main()
178 errx(EXIT_FAILURE, in main()
187 errx(EXIT_FAILURE, in main()
199 errx(EXIT_FAILURE, in main()
210 errx(EXIT_FAILURE, in main()
219 errx(EXIT_FAILURE, in main()
223 errx(EXIT_FAILURE, in main()
242 err(EXIT_FAILURE, "%s", argv[0]); in main()
[all …]
/freebsd/contrib/libucl/utils/
H A Ducl-tool.c64 exit(EXIT_FAILURE); in main()
73 exit(EXIT_FAILURE); in main()
96 exit(EXIT_FAILURE); in main()
100 exit(EXIT_FAILURE); in main()
113 exit(EXIT_FAILURE); in main()
120 exit(EXIT_FAILURE); in main()
126 exit(EXIT_FAILURE); in main()
131 exit(EXIT_FAILURE); in main()
141 exit(EXIT_FAILURE); in main()
146 exit(EXIT_FAILURE); in main()
[all …]
/freebsd/usr.sbin/sesutil/
H A Dsesutil.c123 exit(EXIT_FAILURE); in usage()
136 xo_err(EXIT_FAILURE, "ENCIOC_GETELMSTAT"); in do_led()
154 xo_err(EXIT_FAILURE, "ENCIOC_SETELMSTAT"); in do_led()
224 xo_errx(EXIT_FAILURE, "No SES devices found"); in sesled()
240 xo_err(EXIT_FAILURE, "unable to access SES device"); in sesled()
248 xo_err(EXIT_FAILURE, "ENCIOC_GETNELM"); in sesled()
254 xo_err(EXIT_FAILURE, "calloc()"); in sesled()
260 xo_err(EXIT_FAILURE, "ENCIOC_GETELMMAP"); in sesled()
267 xo_errx(EXIT_FAILURE, in sesled()
286 xo_err(EXIT_FAILURE, in sesled()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c79 err(EXIT_FAILURE, "dbopen"); in main()
93 err(EXIT_FAILURE, "put error %zu %zu %#x", in main()
96 errx(EXIT_FAILURE, "put overwrite %zu %zu %#x", in main()
115 err(EXIT_FAILURE, "get %zu %zu %#x", in main()
118 errx(EXIT_FAILURE, "get not found %zu %zu %#x", in main()
124 errx(EXIT_FAILURE, "get badkey %zu %zu %#x", in main()
127 errx(EXIT_FAILURE, "get badvallen %zu %zu %#x", in main()
130 errx(EXIT_FAILURE, "get badval %zu %zu %#x", in main()
146 err(EXIT_FAILURE, "del %zu %zu %#x", key.size, in main()
149 errx(EXIT_FAILURE, "del not found %zu %zu %#x", in main()
[all …]
/freebsd/usr.bin/ident/
H A Dident.c69 err(EXIT_FAILURE, "open_memstream()"); in scan()
205 return (EXIT_FAILURE); in scan()
229 errx(EXIT_FAILURE, "usage: %s [-q] [-V] [file...]", in main()
238 err(EXIT_FAILURE, "unable to limit stdio"); in main()
244 err(EXIT_FAILURE, "unable to allocate fds array"); in main()
250 err(EXIT_FAILURE, "unable to allocate fds array"); in main()
256 ret = EXIT_FAILURE; in main()
260 err(EXIT_FAILURE, in main()
268 err(EXIT_FAILURE, "unable to enter capability mode"); in main()
277 ret = EXIT_FAILURE; in main()
[all …]
/freebsd/share/examples/tests/tests/plain/
H A Dprintf_test.c56 errx(EXIT_FAILURE, "snprintf with two formatters failed"); in snprintf__two_formatters()
59 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer); in snprintf__two_formatters()
68 errx(EXIT_FAILURE, "snprintf did not return the expected " in snprintf__overflow()
72 errx(EXIT_FAILURE, "Bad formatting: got %s", buffer); in snprintf__overflow()
85 err(EXIT_FAILURE, "fprintf failed to write to file"); in fprintf__simple_string()
89 err(EXIT_FAILURE, "fread failed"); in fprintf__simple_string()
94 errx(EXIT_FAILURE, "Written and read data differ"); in fprintf__simple_string()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_chroot.c72 _exit(EXIT_FAILURE); in ATF_TC_BODY()
77 _exit(EXIT_FAILURE); in ATF_TC_BODY()
80 _exit(EXIT_FAILURE); in ATF_TC_BODY()
85 _exit(EXIT_FAILURE); in ATF_TC_BODY()
88 _exit(EXIT_FAILURE); in ATF_TC_BODY()
157 _exit(EXIT_FAILURE); in ATF_TC_BODY()
160 _exit(EXIT_FAILURE); in ATF_TC_BODY()
201 _exit(EXIT_FAILURE); in ATF_TC_BODY()
204 _exit(EXIT_FAILURE); in ATF_TC_BODY()
209 _exit(EXIT_FAILURE); in ATF_TC_BODY()
[all …]

12345678910>>...19