Home
last modified time | relevance | path

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

12345

/Linux-v6.6/tools/testing/selftests/timers/
Dclocksource-switch.c113 if (WIFEXITED(ret) && WEXITSTATUS(ret)) in run_tests()
114 return WEXITSTATUS(ret); in run_tests()
116 return WIFEXITED(ret) ? WEXITSTATUS(ret) : 0; in run_tests()
/Linux-v6.6/tools/testing/selftests/x86/
Dtest_mremap_vdso.c98 } else if (WEXITSTATUS(status) != 0) { in main()
100 WEXITSTATUS(status)); in main()
Damx.c523 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
539 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
581 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
651 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_fork()
669 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_fork()
925 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_ptrace()
Dlam.c186 lam = WEXITSTATUS(ret); in get_default_tag_bits()
666 ret = WEXITSTATUS(child_ret); in fork_test()
700 ret = WEXITSTATUS(child_ret); in handle_execve()
729 ret = WEXITSTATUS(child_ret); in handle_inheritance()
772 ret = WEXITSTATUS(child_ret); in handle_thread()
800 ret = WEXITSTATUS(child_ret); in handle_thread_enable()
/Linux-v6.6/tools/testing/selftests/riscv/vector/
Dvstate_exec_nolibc.c64 if (WIFEXITED(status) && WEXITSTATUS(status) == -1) { in main()
84 ctrl_c = WEXITSTATUS(status); in main()
Dvstate_prctl.c50 if ((WIFEXITED(status) && WEXITSTATUS(status) == -1) || in launch_test()
56 return WEXITSTATUS(status); in launch_test()
/Linux-v6.6/tools/testing/selftests/user_events/
Dabi_test.c184 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
191 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
228 ASSERT_EQ(0, WEXITSTATUS(i)); in TEST_F()
/Linux-v6.6/tools/testing/selftests/ptrace/
Dvmaccess.c67 ASSERT_EQ(WEXITSTATUS(s), 0); in TEST()
80 ASSERT_EQ(WEXITSTATUS(s), 0); in TEST()
/Linux-v6.6/tools/testing/selftests/clone3/
Dclone3.c100 if (WEXITSTATUS(status)) in call_clone3()
101 return WEXITSTATUS(status); in call_clone3()
Dclone3_set_tid.c116 return WEXITSTATUS(status); in call_clone3_set_tid()
382 ksft_cnt.ksft_pass += 6 - (ksft_cnt.ksft_fail - WEXITSTATUS(status)); in main()
383 ksft_cnt.ksft_fail = WEXITSTATUS(status); in main()
/Linux-v6.6/tools/testing/selftests/arm64/abi/
Dtpidr2.c155 return WEXITSTATUS(status); in write_fork_read()
242 return WEXITSTATUS(status); in write_clone_read()
/Linux-v6.6/arch/um/os-Linux/
Dhelper.c144 if (!WIFEXITED(status) || (WEXITSTATUS(status) != 0)) in run_helper_thread()
163 } else if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { in helper_wait()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c157 if (CHECK(WEXITSTATUS(status), "bpffs test ", "failed %d", WEXITSTATUS(status))) in test_test_bpffs()
/Linux-v6.6/tools/testing/selftests/net/
Dipv6_flowlabel_mgr.c144 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests()
161 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in run_tests()
/Linux-v6.6/tools/testing/selftests/perf_events/
Dremove_on_exec.c114 EXPECT_EQ(WEXITSTATUS(status), 42); in TEST_F()
165 EXPECT_EQ(WEXITSTATUS(tmp), 42); in TEST_F()
/Linux-v6.6/tools/testing/selftests/wireguard/qemu/
Dinit.c177 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { in launch_tests()
207 what = WEXITSTATUS(status); in launch_tests()
/Linux-v6.6/tools/testing/selftests/core/
Dclose_range_test.c198 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
241 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
439 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
538 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
/Linux-v6.6/tools/testing/selftests/safesetid/
Dsafesetid-test.c291 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) { in test_setuid()
347 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) { in test_setgid()
412 if (WEXITSTATUS(wstatus) == EXIT_SUCCESS) { in test_setgroups()
/Linux-v6.6/tools/testing/selftests/exec/
Dexecveat.c104 if ((WEXITSTATUS(status) != expected_rc) && in check_execveat_invoked_rc()
105 (WEXITSTATUS(status) != expected_rc2)) { in check_execveat_invoked_rc()
107 child, WEXITSTATUS(status), expected_rc, expected_rc2); in check_execveat_invoked_rc()
/Linux-v6.6/tools/testing/selftests/landlock/
Dcommon.h61 switch (WEXITSTATUS(status)) { \
71 _metadata->step = WEXITSTATUS(status); \
/Linux-v6.6/tools/testing/selftests/mm/
Dmemfd_secret.c144 if (WIFEXITED(status) && WEXITSTATUS(status) == KSFT_SKIP) { in check_child_status()
149 if ((WIFEXITED(status) && WEXITSTATUS(status) == KSFT_PASS) || in check_child_status()
/Linux-v6.6/tools/testing/selftests/proc/
Dproc-loadavg-001.c79 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) in main()
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dza-fork.c68 return WEXITSTATUS(child_status) && parent_result; in fork_test_c()
/Linux-v6.6/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c59 if (WEXITSTATUS(status) != 0) { in dscr_inherit()
/Linux-v6.6/tools/testing/selftests/sync/
Dsync_test.c52 ret = WEXITSTATUS(result); in run_test()

12345