/freebsd/bin/sh/ |
H A D | eval.c | 77 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 D | main.c | 106 exitshell(exitstatus); in main() 170 exitshell(exitstatus); in main() 322 exitstatus = 0; in dotcmd() 335 return exitstatus; in dotcmd()
|
H A D | trap.c | 435 savestatus = exitstatus; in dotrap() 451 exitstatus = savestatus; in dotrap() 512 exitstatus = oexitstatus = exiting_exitstatus; in exitshell_savedstatus()
|
H A D | eval.h | 34 extern int exitstatus; /* exit status of last command */
|
/freebsd/contrib/kyua/engine/ |
H A D | atf.cpp | 140 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 D | plain.cpp | 136 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 D | atf_result.cpp | 228 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 D | tap.cpp | 85 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 D | isolation_test.cpp | 315 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 D | child_test.cpp | 108 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 D | status_test.cpp | 102 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 D | operations_test.cpp | 169 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 D | status.cpp | 135 process::status::exitstatus(void) const in exitstatus() function in process::status 193 output << F("status{exitstatus=%s}") % status.exitstatus(); in operator <<()
|
H A D | status.hpp | 70 int exitstatus(void) const;
|
/freebsd/usr.bin/find/ |
H A D | find.c | 177 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 D | main.c | 61 int exitstatus; variable
|
/freebsd/tools/test/stress2/misc/ |
H A D | overlap.sh | 137 void *exitstatus; 154 pthread_join(rp, &exitstatus); 155 pthread_join(wp, &exitstatus);
|
/freebsd/contrib/atf/atf-c++/ |
H A D | utils.cpp | 103 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 D | runconsoles.c | 83 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 D | crontab.c | 75 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 D | jail.cpp | 221 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 D | ipf.c | 30 int exitstatus = 0; variable 163 return (exitstatus); in main() 253 exitstatus = 1; in ipf_interceptadd()
|
/freebsd/bin/sh/bltin/ |
H A D | bltin.h | 64 #define errx(exitstatus, ...) error(__VA_ARGS__) argument
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | misc_test.cpp | 124 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/atf/atf-c/ |
H A D | utils.c | 425 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()
|