Home
last modified time | relevance | path

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

12

/freebsd/bin/sh/
H A Deval.c77 int exitstatus; /* exit status of last command */ variable
133 exitstatus = 0; in evalcmd()
134 return exitstatus; in evalcmd()
171 exitstatus = 0; in evalstring()
193 exitstatus = 0; in evaltree()
211 if (evalskip || exitstatus != 0) { in evaltree()
218 if (evalskip || exitstatus == 0) in evaltree()
236 if (exitstatus == 0) in evaltree()
241 exitstatus = 0; in evaltree()
267 exitstatus = 0; in evaltree()
[all …]
H A Dmain.c106 exitshell(exitstatus); in main()
170 exitshell(exitstatus); in main()
322 exitstatus = 0; in dotcmd()
335 return exitstatus; in dotcmd()
H A Dtrap.c435 savestatus = exitstatus; in dotrap()
451 exitstatus = savestatus; in dotrap()
512 exitstatus = oexitstatus = exiting_exitstatus; in exitshell_savedstatus()
H A Deval.h34 extern int exitstatus; /* exit status of last command */
/freebsd/contrib/kyua/engine/
H A Datf.cpp140 const int exitstatus = status.get().exitstatus(); in parse_list() local
141 if (exitstatus == EXIT_SUCCESS) { in parse_list()
143 } else if (exitstatus == exit_eacces) { in parse_list()
145 } else if (exitstatus == exit_enoent) { in parse_list()
147 } else if (exitstatus == exit_enoexec) { in parse_list()
H A Dplain.cpp136 const int exitstatus = status.get().exitstatus(); in compute_result() local
137 if (exitstatus == EXIT_SUCCESS) { in compute_result()
142 F("Returned non-success exit status %s") % exitstatus); in compute_result()
H A Datf_result.cpp228 return F("exited with code %s") % status.exitstatus(); in format_status()
440 if (_argument.get() == status.get().exitstatus()) in apply()
447 _argument.get() % status.get().exitstatus()); in apply()
455 if (status.get().exited() && status.get().exitstatus() == EXIT_SUCCESS) in apply()
484 if (status.get().exited() && status.get().exitstatus() == EXIT_FAILURE) in apply()
492 if (status.get().exited() && status.get().exitstatus() == EXIT_SUCCESS) in apply()
500 if (status.get().exited() && status.get().exitstatus() == EXIT_SUCCESS) in apply()
H A Dtap.cpp85 if (status.exitstatus() == EXIT_SUCCESS) { in tap_to_result()
91 "but returned exit code %s") % status.exitstatus()); in tap_to_result()
/freebsd/contrib/kyua/utils/process/
H A Disolation_test.cpp315 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
352 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
376 ATF_REQUIRE_EQ(process::exit_isolation_failure, status.exitstatus()); in ATF_TEST_CASE_BODY()
402 ATF_REQUIRE_EQ(process::exit_isolation_failure, status.exitstatus()); in ATF_TEST_CASE_BODY()
436 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
447 ATF_REQUIRE_EQ(process::exit_isolation_failure, status.exitstatus()); in ATF_TEST_CASE_BODY()
458 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
467 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
476 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
485 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
H A Dchild_test.cpp108 child_simple_functor(const int exitstatus, const std::string& message) : in child_simple_functor() argument
109 _exitstatus(exitstatus), in child_simple_functor()
299 if (!status.exited() || status.exitstatus() != 123) in do_inherit_test()
344 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in child__fork_capture__ok()
390 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
474 ATF_REQUIRE_EQ(15, status.exitstatus()); in ATF_TEST_CASE_BODY()
497 ATF_REQUIRE_EQ(16, status.exitstatus()); in ATF_TEST_CASE_BODY()
536 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
658 ATF_REQUIRE_EQ(12, status.exitstatus()); in ATF_TEST_CASE_BODY()
677 ATF_REQUIRE_EQ(13, status.exitstatus()); in ATF_TEST_CASE_BODY()
[all …]
H A Dstatus_test.cpp102 ATF_REQUIRE_EQ(123, fake.exitstatus()); in ATF_TEST_CASE_BODY()
154 ATF_REQUIRE_EQ(EXIT_SUCCESS, exit_success.exitstatus()); in ATF_TEST_CASE_BODY()
159 ATF_REQUIRE_EQ(EXIT_FAILURE, exit_failure.exitstatus()); in ATF_TEST_CASE_BODY()
H A Doperations_test.cpp169 ATF_REQUIRE_EQ(EXIT_FAILURE, status.exitstatus()); in check_exec_no_args()
191 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in check_exec_some_args()
391 ATF_REQUIRE_EQ(15, status.exitstatus()); in ATF_TEST_CASE_BODY()
409 ATF_REQUIRE_EQ(15, status.exitstatus()); in ATF_TEST_CASE_BODY()
424 exit_codes.insert(status.exitstatus()); in ATF_TEST_CASE_BODY()
H A Dstatus.cpp135 process::status::exitstatus(void) const in exitstatus() function in process::status
193 output << F("status{exitstatus=%s}") % status.exitstatus(); in operator <<()
H A Dstatus.hpp70 int exitstatus(void) const;
/freebsd/usr.bin/find/
H A Dfind.c177 exitstatus = 0; in find_execute()
203 exitstatus = 1; in find_execute()
224 exitstatus = 1; in find_execute()
242 return (exitstatus); in find_execute()
H A Dmain.c61 int exitstatus; variable
/freebsd/tools/test/stress2/misc/
H A Doverlap.sh137 void *exitstatus;
154 pthread_join(rp, &exitstatus);
155 pthread_join(wp, &exitstatus);
/freebsd/contrib/atf/atf-c++/
H A Dutils.cpp103 atf::utils::wait(const pid_t pid, const int exitstatus, in wait() argument
106 atf_utils_wait(pid, exitstatus, expout.c_str(), experr.c_str()); in wait()
/freebsd/usr.sbin/bsdinstall/runconsoles/
H A Drunconsoles.c83 volatile int exitstatus; member
223 child_consinfo->exitstatus = status; in sigchld_handler_reaped_one()
366 consinfo->exitstatus = -1; in read_consoles()
584 return (first_sigchld_consinfo->exitstatus); in wait_consoles()
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c75 int exitstatus; in main() local
93 exitstatus = OK_EXIT; in main()
106 exitstatus = ERROR_EXIT; in main()
112 exit(exitstatus); in main()
/freebsd/contrib/kyua/os/freebsd/utils/
H A Djail.cpp221 if (status.exited() && status.exitstatus() == EXIT_SUCCESS) in create()
296 if (status.exited() && status.exitstatus() == EXIT_SUCCESS) in remove()
/freebsd/sbin/ipf/ipf/
H A Dipf.c30 int exitstatus = 0; variable
163 return (exitstatus); in main()
253 exitstatus = 1; in ipf_interceptadd()
/freebsd/bin/sh/bltin/
H A Dbltin.h64 #define errx(exitstatus, ...) error(__VA_ARGS__) argument
/freebsd/contrib/kyua/utils/signals/
H A Dmisc_test.cpp124 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/atf-c/
H A Dutils.c425 atf_utils_wait(const pid_t pid, const int exitstatus, const char *expout, in atf_utils_wait() argument
441 ATF_REQUIRE_EQ(exitstatus, WEXITSTATUS(status)); in atf_utils_wait()

12