Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/netbsd-src/external/bsd/kyua-testers/dist/
H A Datf_result.c346 reason, WEXITSTATUS(status)); in convert_broken()
371 if (WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_expected_death()
399 if (status_arg == NO_STATUS_ARG || status_arg == WEXITSTATUS(status)) { in convert_expected_exit()
407 "code %d but got code %d", status_arg, WEXITSTATUS(status)); in convert_expected_exit()
434 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_expected_failure()
442 "exited with error code %d", WEXITSTATUS(status)); in convert_expected_failure()
485 "signal but exited with code %d", WEXITSTATUS(status)); in convert_expected_signal()
505 "exited with code %d", WEXITSTATUS(status)); in convert_expected_timeout()
531 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_failed()
564 if (WEXITSTATUS(status) == EXIT_SUCCESS) { in convert_passed()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dwait.d139 extern (D) int WEXITSTATUS( int status ) { return ( status & 0xFF00 ) >> 8; } in version()
147 extern (D) int WSTOPSIG( int status ) { return WEXITSTATUS( status ); } in version()
155 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version()
171 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version()
187 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version()
203 extern (D) int WEXITSTATUS(int status) { return (status >> 8) & 0xFF; } in version()
219 extern (D) int WEXITSTATUS( int status ) { return (status >> 8); } in version()
234 extern (D) int WEXITSTATUS(int status) { return (status >> 8) & 0xff; } in version()
245 extern (D) int WEXITSTATUS( int status ) { return ( status & 0xFF00 ) >> 8; } in version()
249 extern (D) int WSTOPSIG( int status ) { return WEXITSTATUS(status); } in version()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dwait-process.c40 #define WEXITSTATUS(x) (((x) >> 8) & 0xff) /* or: (x) ?? */ macro
59 # ifndef WEXITSTATUS
60 # define WEXITSTATUS(x) ((x).w_retcode) macro
70 # ifndef WEXITSTATUS
71 # define WEXITSTATUS(x) (((x) >> 8) & 0xff) macro
397 if (WEXITSTATUS (status) == 127) in wait_subprocess()
404 return WEXITSTATUS (status); in wait_subprocess()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dexecute_command_line.c127 _exit (WIFEXITED(res) ? WEXITSTATUS(res) : res); in execute_command_line()
144 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line()
145 || (WIFEXITED(res) && WEXITSTATUS(res) == 127) in execute_command_line()
146 || (WIFEXITED(res) && WEXITSTATUS(res) == 126) in execute_command_line()
157 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line()
158 *exitstat = WIFEXITED(res) ? WEXITSTATUS(res) : res; in execute_command_line()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dexecute_command_line.c127 _exit (WIFEXITED(res) ? WEXITSTATUS(res) : res); in execute_command_line()
144 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line()
145 || (WIFEXITED(res) && WEXITSTATUS(res) == 127) in execute_command_line()
146 || (WIFEXITED(res) && WEXITSTATUS(res) == 126) in execute_command_line()
157 #if defined(WEXITSTATUS) && defined(WIFEXITED) in execute_command_line()
158 *exitstat = WIFEXITED(res) ? WEXITSTATUS(res) : res; in execute_command_line()
/netbsd-src/tests/lib/libc/sys/
H A Dt_getlogin.c114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
172 if (WEXITSTATUS(sta) == EFAULT) in ATF_TC_BODY()
175 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY()
223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_kill.c113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
115 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY()
118 if (WEXITSTATUS(sta) == ESRCH) in ATF_TC_BODY()
202 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) == EPERM) in ATF_TC_BODY()
205 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_setrlimit.c220 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
292 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
340 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
399 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
440 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
593 WEXITSTATUS(status)); in checkstack()
602 ATF_REQUIRE_EQ_MSG(WEXITSTATUS(status), 0, "exitstatus=%d", in checkstack()
603 WEXITSTATUS(status)); in checkstack()
H A Dt_mprotect.c206 if (WEXITSTATUS(sta) != SIGSEGV) { in ATF_TC_BODY()
213 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
312 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
365 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
380 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
H A Dt_chroot.c95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
218 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
299 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_clone.c152 WEXITSTATUS(stat), frobme[1]); in ATF_TC_BODY()
154 switch (WEXITSTATUS(stat)) { in ATF_TC_BODY()
169 WEXITSTATUS(stat)); in ATF_TC_HEAD()
/netbsd-src/tests/lib/libc/stdlib/
H A Dt_exit.c77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i) in ATF_TC_BODY()
168 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
/netbsd-src/tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c104 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
130 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
156 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_FAILURE); in ATF_TC_BODY()
197 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
226 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127); in ATF_TC_BODY()
314 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
352 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-m4/
H A Dunionwait.m417 #ifdef WEXITSTATUS
20 conflicts with WEXITSTATUS et al, we don't want to use it at all. */
21 if (WEXITSTATUS (status) != 0) pid = -1;
23 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/m4/
H A Dunionwait.m417 #ifdef WEXITSTATUS
20 conflicts with WEXITSTATUS et al, we don't want to use it at all. */
21 if (WEXITSTATUS (status) != 0) pid = -1;
23 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dsys_wait.in.h69 # ifndef WEXITSTATUS
70 # define WEXITSTATUS(x) (((x) >> 8) & 0xff) macro
100 # define WEXITSTATUS(x) (x)
/netbsd-src/external/bsd/atf/dist/atf-c++/
H A Dutils_test.cpp239 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
352 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
367 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
382 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
397 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
412 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
429 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TEST_CASE_BODY()
/netbsd-src/external/bsd/atf/dist/atf-c/
H A Dutils_test.c247 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY()
407 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY()
422 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY()
437 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY()
452 ATF_REQUIRE_EQ(EXIT_FAILURE, WEXITSTATUS(status)); in ATF_TC_BODY()
467 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY()
484 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); in ATF_TC_BODY()
/netbsd-src/tests/kernel/kqueue/
H A Dt_proc4.c125 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_CHILD || in ATF_TC_BODY()
126 WEXITSTATUS(status) == EXIT_GRANDCHILD); in ATF_TC_BODY()
127 if (WEXITSTATUS(status) == EXIT_CHILD) { in ATF_TC_BODY()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dwait.h40 #ifndef WEXITSTATUS
41 #define WEXITSTATUS(w) (((w) >> 8) & 0xff) macro
/netbsd-src/external/bsd/openldap/dist/include/ac/
H A Dwait.h36 #ifndef WEXITSTATUS
37 # define WEXITSTATUS(s) LDAP_HI(s) macro
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dipropd_common.c179 switch (WEXITSTATUS(status)) { in restarter()
189 krb5_errx(context, WEXITSTATUS(status), in restarter()
240 exit(WEXITSTATUS(status)); in restarter()
/netbsd-src/tests/lib/libc/c063/
H A Dt_fexecve.c81 if (WEXITSTATUS(status) == 76) in ATF_TC_BODY()
84 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY()
/netbsd-src/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-exec.c88 if (WEXITSTATUS(status)) { in exec_cmd()
89 log_error("%s failed: %u", argv[0], WEXITSTATUS(status)); in exec_cmd()
/netbsd-src/bin/mv/
H A Dmv.c396 if (WEXITSTATUS(status)) { in copy()
398 _PATH_CP, WEXITSTATUS(status)); in copy()
414 if (WEXITSTATUS(status)) { in copy()
416 _PATH_RM, WEXITSTATUS(status)); in copy()

12345678910>>...13