Home
last modified time | relevance | path

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

/posix/sys/
A Dwait.h54 # define WEXITSTATUS(status) __WEXITSTATUS (status) argument
55 # define WTERMSIG(status) __WTERMSIG (status) argument
56 # define WSTOPSIG(status) __WSTOPSIG (status) argument
57 # define WIFEXITED(status) __WIFEXITED (status) argument
58 # define WIFSIGNALED(status) __WIFSIGNALED (status) argument
59 # define WIFSTOPPED(status) __WIFSTOPPED (status) argument
61 # define WIFCONTINUED(status) __WIFCONTINUED (status) argument
67 # define WCOREDUMP(status) __WCOREDUMP (status) argument
/posix/
A Dtst-spawn4-compat.c48 int status; in do_test() local
52 status = posix_spawn (&pid, scriptname, NULL, NULL, (char *[]) { 0 }, in do_test()
54 TEST_VERIFY_EXIT (status == 0); in do_test()
56 TEST_VERIFY_EXIT (waitpid (pid, &status, 0) == pid); in do_test()
57 TEST_VERIFY_EXIT (WIFEXITED (status) == 1 && WEXITSTATUS (status) == 65); in do_test()
59 status = posix_spawnp (&pid, scriptname, NULL, NULL, (char *[]) { 0 }, in do_test()
61 TEST_VERIFY_EXIT (status == 0); in do_test()
63 TEST_VERIFY_EXIT (waitpid (pid, &status, 0) == pid); in do_test()
64 TEST_VERIFY_EXIT (WIFEXITED (status) == 1 && WEXITSTATUS (status) == 65); in do_test()
A Dtst-vfork3.c50 int status; in run_script() local
51 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in run_script()
53 else if (status != 0) in run_script()
55 if (WIFEXITED (status)) in run_script()
57 WEXITSTATUS (status)); in run_script()
60 WTERMSIG (status)); in run_script()
109 int status; in do_test() local
110 if (TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)) != pid) in do_test()
115 else if (status != 0) in do_test()
117 printf ("script2.sh failed with status %d\n", status); in do_test()
A Dtst-fexecve.c43 int status; in try_fexecve() local
44 termpid = TEMP_FAILURE_RETRY (waitpid (pid, &status, 0)); in try_fexecve()
50 if (!WIFEXITED (status)) in try_fexecve()
54 if (WEXITSTATUS (status) == ENOSYS) in try_fexecve()
57 if (WEXITSTATUS (status) != 0) in try_fexecve()
59 errno = WEXITSTATUS (status); in try_fexecve()
A Dtst-spawn4.c42 int status; in do_test() local
45 status = posix_spawn (&pid, scriptname, NULL, NULL, (char *[]) { 0 }, in do_test()
47 TEST_VERIFY_EXIT (status == ENOEXEC); in do_test()
49 status = posix_spawnp (&pid, scriptname, NULL, NULL, (char *[]) { 0 }, in do_test()
51 TEST_VERIFY_EXIT (status == ENOEXEC); in do_test()
A Dtst-execvpe5.c83 int status; in do_test() local
146 if (waitpid (pid, &status, 0) != pid) in do_test()
152 if (WTERMSIG (status) != 0) in do_test()
157 status = WEXITSTATUS (status); in do_test()
159 return status; in do_test()
A Dtest-vfork.c16 int status; in main() local
32 if (waitpid (0, &status, 0) != pid in main()
33 || !WIFEXITED (status) || WEXITSTATUS (status) != NR) in main()
A Dwordexp-tst.sh52 status=1
66 status=1
80 status=1
93 status=1
107 status=1
121 status=1
137 status=1
150 status=1
165 status=1
A Dtst-fork.c42 int status; in main() local
125 if (waitpid (pid, &status, 0) != pid) in main()
128 if (WTERMSIG (status) != 0) in main()
130 status = WEXITSTATUS (status); in main()
132 if (status == 0) in main()
149 return status; in main()
A Dtst-execveat.c40 int status; in call_execveat() local
60 xwaitpid (pid, &status, 0); in call_execveat()
62 if (!WIFEXITED (status)) in call_execveat()
65 if (WIFEXITED (status)) in call_execveat()
67 if (WEXITSTATUS (status) == EXIT_UNSUPPORTED) in call_execveat()
70 TEST_COMPARE (WEXITSTATUS (status), 0); in call_execveat()
72 TEST_COMPARE (WEXITSTATUS (status), 3); in call_execveat()
A Dannexc.c686 int status; in xsystem() local
688 status = system (cmd); in xsystem()
689 if (status != -1) in xsystem()
691 if (WIFSIGNALED (status)) in xsystem()
693 if (WTERMSIG (status) == SIGINT || WTERMSIG (status) == SIGQUIT) in xsystem()
694 raise (WTERMSIG (status)); in xsystem()
696 else if (WIFEXITED (status)) in xsystem()
698 if (WEXITSTATUS (status) == SIGINT + 128 in xsystem()
699 || WEXITSTATUS (status) == SIGQUIT + 128) in xsystem()
700 raise (WEXITSTATUS (status) - 128); in xsystem()
[all …]
A Dtst-spawn.c148 int status; in do_test() local
240 TEST_COMPARE (xwaitpid (pid, &status, 0), pid); in do_test()
241 TEST_VERIFY (WIFEXITED (status)); in do_test()
242 TEST_VERIFY (!WIFSIGNALED (status)); in do_test()
243 TEST_COMPARE (WEXITSTATUS (status), 0); in do_test()
254 xwaitpid (-1, &status, 0); in do_test()
255 TEST_VERIFY (WIFEXITED (status)); in do_test()
256 TEST_VERIFY (!WIFSIGNALED (status)); in do_test()
257 TEST_COMPARE (WEXITSTATUS (status), 0); in do_test()
A Dtst-exec.c123 int status; in do_test() local
190 if (waitpid (pid, &status, 0) != pid) in do_test()
193 if (WTERMSIG (status) != 0) in do_test()
195 status = WEXITSTATUS (status); in do_test()
197 return status; in do_test()
A Dtst-_Fork.c71 int status; in singlethread_test() local
72 xwaitpid (pid, &status, 0); in singlethread_test()
73 TEST_VERIFY (WIFEXITED (status)); in singlethread_test()
74 TEST_COMPARE (WEXITSTATUS (status), EXIT_SUCCESS); in singlethread_test()
A D_exit.c25 _exit (int status) in _exit() argument
27 status &= 0xff; in _exit()
A Dtst-execvpe6.c59 int status; in run_script() local
75 if (waitpid (pid, &status, 0) != pid) in run_script()
81 if (WTERMSIG (status) != 0) in run_script()
A Dtst-spawn5.c165 int status; in spawn_closefrom_test() local
168 TEST_COMPARE (xwaitpid (pid, &status, 0), pid); in spawn_closefrom_test()
169 TEST_VERIFY (WIFEXITED (status)); in spawn_closefrom_test()
170 TEST_VERIFY (!WIFSIGNALED (status)); in spawn_closefrom_test()
171 TEST_COMPARE (WEXITSTATUS (status), 0); in spawn_closefrom_test()
A Dtst-spawn-chdir.c180 int status; in do_test() local
181 xwaitpid (pid, &status, 0); in do_test()
182 TEST_COMPARE (status, 0); in do_test()
A Dtst-spawn3.c113 int status; in do_test() local
114 int err = waitpid (pid, &status, 0); in do_test()
A Dglob.c307 int status; in __glob() local
980 status = __glob (dirname, in __glob()
984 if (status != 0) in __glob()
988 retval = status; in __glob()
1002 status = glob_in_dir (filename, dirs.gl_pathv[i], in __glob()
1006 if (status == GLOB_NOMATCH) in __glob()
1010 if (status != 0) in __glob()
1015 retval = status; in __glob()
1116 if (status != 0) in __glob()
1118 if (status == GLOB_NOMATCH && flags != orig_flags in __glob()
[all …]
A Dtst-wait-skeleton.c63 check_sigchld (int code, int status, pid_t pid) in check_sigchld() argument
71 TEST_COMPARE (siginfo.si_status, status); in check_sigchld()
A Dtst-waitid.c65 check_sigchld (int code, int status, pid_t pid) in check_sigchld() argument
73 TEST_COMPARE (siginfo.si_status, status); in check_sigchld()
A Dwordexp.c882 int status = 0; in exec_comm() local
911 return (TEMP_FAILURE_RETRY (__waitpid (pid, &status, 0)) == pid in exec_comm()
912 && status != 0) ? WRDE_SYNTAX : 0; in exec_comm()
928 if (TEMP_FAILURE_RETRY (__waitpid (pid, &status, in exec_comm()
963 if (TEMP_FAILURE_RETRY (__waitpid (pid, &status, in exec_comm()
1087 if (buflen < 1 && status != 0) in exec_comm()
A DBOOST.tests11 ; Other lines contain a test to perform using the current flag status
A Dtst-regex.input3145 set config_vars in config.status.
9516 and report status at the end.

Completed in 52 milliseconds