Home
last modified time | relevance | path

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

12345678910>>...15

/freebsd/usr.bin/leave/
H A Dleave.c76 exit(EXIT_SUCCESS); in main()
127 exit(EXIT_SUCCESS); in main()
143 exit(EXIT_SUCCESS); in doalarm()
158 exit(EXIT_SUCCESS); in doalarm()
167 exit(EXIT_SUCCESS); in doalarm()
174 exit(EXIT_SUCCESS); in doalarm()
179 exit(EXIT_SUCCESS); in doalarm()
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_exit.c72 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
99 exit(EXIT_SUCCESS); in ATF_TC_BODY()
105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
163 exit(EXIT_SUCCESS); in ATF_TC_BODY()
168 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_chroot.c90 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
162 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
214 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
219 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
295 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
300 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_kill.c108 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
177 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
197 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
205 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
247 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
293 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
H A Dt_getlogin.c109 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
165 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
218 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_setrlimit.c225 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
241 _exit(EXIT_SUCCESS); in sighandler()
299 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
310 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
361 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
366 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
420 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
425 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
459 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
466 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_nanosleep.c177 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
184 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
243 _exit(EXIT_SUCCESS); in ATF_TC_BODY()
255 if (WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
/freebsd/contrib/kyua/utils/
H A Dstream_test.cpp50 std::exit(EXIT_SUCCESS); in ATF_TEST_CASE_BODY()
52 atf::utils::wait(pid, EXIT_SUCCESS, "Message to stdout\n", ""); in ATF_TEST_CASE_BODY()
65 std::exit(EXIT_SUCCESS); in ATF_TEST_CASE_BODY()
67 atf::utils::wait(pid, EXIT_SUCCESS, "", "Message to stderr\n"); in ATF_TEST_CASE_BODY()
80 std::exit(EXIT_SUCCESS); in ATF_TEST_CASE_BODY()
82 atf::utils::wait(pid, EXIT_SUCCESS, "", ""); in ATF_TEST_CASE_BODY()
H A Dsanity_test.cpp83 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in verify_success()
122 std::exit(EXIT_SUCCESS); in do_inv_test()
160 std::exit(EXIT_SUCCESS); in do_pre_test()
198 std::exit(EXIT_SUCCESS); in do_post_test()
236 std::exit(EXIT_SUCCESS); in do_unreachable_test()
/freebsd/contrib/kyua/utils/process/
H A Disolation_test.cpp135 std::exit(failed ? EXIT_FAILURE : EXIT_SUCCESS); in check_clean_environment()
194 std::exit(EXIT_SUCCESS); in operator ()()
232 EXIT_SUCCESS : EXIT_FAILURE); in operator ()()
245 std::exit(::getsid(::getpid()) == ::getpid() ? EXIT_SUCCESS : EXIT_FAILURE); in check_new_session()
278 EXIT_SUCCESS : EXIT_FAILURE); in check_process_group()
290 std::exit(::umask(0) == 0022 ? EXIT_SUCCESS : EXIT_FAILURE); in check_umask()
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()
436 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
458 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
[all …]
H A Dchild_test.cpp75 EXIT_SUCCESS : EXIT_FAILURE); in child_check_own_session()
136 std::exit(EXIT_SUCCESS); in child_printer_function()
167 std::exit(EXIT_SUCCESS); in child_write_pid()
301 std::exit(EXIT_SUCCESS); in do_inherit_test()
306 ATF_REQUIRE_EQ(EXIT_SUCCESS, WEXITSTATUS(status)); 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()
419 std::exit(EXIT_SUCCESS); in ATF_TEST_CASE_BODY()
445 std::exit(EXIT_SUCCESS); in ATF_TEST_CASE_BODY()
536 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
[all …]
H A Dexecutor_test.cpp127 do_exit(EXIT_SUCCESS); in operator ()()
153 ? EXIT_FAILURE : EXIT_SUCCESS; in child_delete_all()
167 do_exit(EXIT_SUCCESS); in child_dump_unprivileged_user()
220 do_exit(EXIT_SUCCESS); in child_print()
243 do_exit(EXIT_SUCCESS); in operator ()()
276 do_exit(EXIT_SUCCESS); in child_spawn_blocking_child()
296 do_exit(EXIT_SUCCESS); in child_validate_isolation()
460 require_exit(EXIT_SUCCESS, exit_handle.status()); in ATF_TEST_CASE_BODY()
494 require_exit(EXIT_SUCCESS, exit_handle.status()); in ATF_TEST_CASE_BODY()
819 std::exit(EXIT_SUCCESS); in do_signal_handling_test()
[all …]
/freebsd/contrib/netbsd-tests/lib/libutil/
H A Dt_pidfile.c123 if (!WIFEXITED(status) || WEXITSTATUS(status) != EXIT_SUCCESS) in run_child()
154 exit(EXIT_SUCCESS); in helper_default_path()
181 exit(EXIT_SUCCESS); in helper_custom_basename()
206 exit(EXIT_SUCCESS); in helper_custom_path()
250 exit(EXIT_SUCCESS); in helper_change_basenames()
289 exit(EXIT_SUCCESS); in helper_change_paths()
332 exit(EXIT_SUCCESS); in helper_mix()
/freebsd/contrib/netbsd-tests/fs/psshfs/
H A Dh_have_puffs.c43 exitcode = EXIT_SUCCESS; in main()
47 exitcode = EXIT_SUCCESS; in main()
50 exitcode = EXIT_SUCCESS; in main()
/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dh_client.c72 return EXIT_SUCCESS; in main()
95 return EXIT_SUCCESS; in main()
116 return EXIT_SUCCESS; in main()
134 return EXIT_SUCCESS; in main()
/freebsd/contrib/atf/atf-c/detail/
H A Dprocess_helpers.c40 return EXIT_SUCCESS; in h_echo()
63 return EXIT_SUCCESS; in h_exit_success()
75 return EXIT_SUCCESS; in h_stdout_stderr()
/freebsd/tools/regression/tmpfs/
H A Dh_tools.c141 if (ec != EXIT_SUCCESS) in kqueue_main()
175 return EXIT_SUCCESS; in kqueue_main()
192 return EXIT_SUCCESS; in rename_main()
223 return EXIT_SUCCESS; in sockets_main()
250 return EXIT_SUCCESS; in statvfs_main()
/freebsd/contrib/netbsd-tests/fs/tmpfs/
H A Dh_tools.c175 if (ec != EXIT_SUCCESS) in kqueue_main()
209 return EXIT_SUCCESS; in kqueue_main()
226 return EXIT_SUCCESS; in rename_main()
266 return EXIT_SUCCESS; in sockets_main()
291 return EXIT_SUCCESS; in statvfs_main()
/freebsd/bin/nproc/
H A Dnproc.c71 exit(EXIT_SUCCESS); in version()
100 exit(EXIT_SUCCESS); in main()
131 exit(EXIT_SUCCESS); in main()
/freebsd/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc2.c55 _exit(EXIT_SUCCESS); in child_two()
79 _exit(EXIT_SUCCESS); in child_one()
125 ATF_REQUIRE_EQ(WEXITSTATUS(status), EXIT_SUCCESS); in ATF_TC_BODY()
/freebsd/contrib/kyua/utils/signals/
H A Dmisc_test.cpp80 std::exit(EXIT_SUCCESS); in program_reset_raise()
92 std::exit(ok ? EXIT_SUCCESS : EXIT_FAILURE); in run_reset_all()
124 ATF_REQUIRE_EQ(EXIT_SUCCESS, status.exitstatus()); in ATF_TEST_CASE_BODY()
/freebsd/usr.bin/ident/
H A Dident.c208 return (EXIT_SUCCESS); in scan()
216 int ret = EXIT_SUCCESS; in main()
227 return (EXIT_SUCCESS); in main()
280 if (scan(fp, argc == 0 ? NULL : argv[i], quiet) != EXIT_SUCCESS) in main()
/freebsd/usr.sbin/pw/
H A Dpw_group.c109 return (EXIT_SUCCESS); in pw_groupnext()
250 return (EXIT_SUCCESS); in print_group()
256 return (EXIT_SUCCESS); in print_group()
355 return (EXIT_SUCCESS); in pw_group_show()
425 return (EXIT_SUCCESS); in grp_has_member()
498 return (EXIT_SUCCESS); in pw_group_add()
583 if (nis && rc == EXIT_SUCCESS && nis_update() == 0) in pw_group_mod()
703 return (EXIT_SUCCESS); in pw_group_mod()
727 return (EXIT_SUCCESS);
/freebsd/contrib/diff/lib/
H A Dexit.h25 #ifndef EXIT_SUCCESS
26 # define EXIT_SUCCESS 0 macro
/freebsd/contrib/ntp/sntp/libopts/
H A Dpgusage.c116 (*opts->pUsageProc)(opts, EXIT_SUCCESS); in optionPagedUsage()
133 (*opts->pUsageProc)(opts, EXIT_SUCCESS); in optionPagedUsage()
149 (*opts->pUsageProc)(opts, EXIT_SUCCESS); in optionPagedUsage()

12345678910>>...15