Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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-6.1.9/tools/testing/selftests/x86/
Dtest_mremap_vdso.c98 } else if (WEXITSTATUS(status) != 0) { in main()
100 WEXITSTATUS(status)); in main()
Damx.c521 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
537 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
579 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_dynamic_state()
644 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_fork()
662 if (!WIFEXITED(status) || WEXITSTATUS(status)) in test_fork()
/linux-6.1.9/tools/testing/selftests/ptrace/
Dvmaccess.c67 ASSERT_EQ(WEXITSTATUS(s), 0); in TEST()
80 ASSERT_EQ(WEXITSTATUS(s), 0); in TEST()
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/arm64/abi/
Dtpidr2.c155 return WEXITSTATUS(status); in write_fork_read()
242 return WEXITSTATUS(status); in write_clone_read()
/linux-6.1.9/tools/testing/selftests/landlock/
Dcommon.h56 switch (WEXITSTATUS(status)) { \
66 _metadata->step = WEXITSTATUS(status); \
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c157 if (CHECK(WEXITSTATUS(status), "bpffs test ", "failed %d", WEXITSTATUS(status))) in test_test_bpffs()
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/wireguard/qemu/
Dinit.c177 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { in launch_tests()
207 what = WEXITSTATUS(status); in launch_tests()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
Dnull-argv.c40 if (WEXITSTATUS(wstatus) != 0) { in check_result()
/linux-6.1.9/tools/testing/selftests/vm/
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-6.1.9/tools/testing/selftests/proc/
Dproc-loadavg-001.c79 if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) == 0) in main()
/linux-6.1.9/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c59 if (WEXITSTATUS(status) != 0) { in dscr_inherit()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c874 ASSERT_EQ(42, WEXITSTATUS(status)); in TEST()
1619 if (WEXITSTATUS(status)) in teardown_trace_fixture()
3158 if (WIFSIGNALED(status) || WEXITSTATUS(status)) in TEST()
3378 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3446 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3595 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3628 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3667 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3704 EXPECT_EQ(0, WEXITSTATUS(status)); in TEST()
3705 exit(WEXITSTATUS(status)); in TEST()
[all …]
/linux-6.1.9/tools/testing/selftests/sync/
Dsync_test.c52 ret = WEXITSTATUS(result); in run_test()
/linux-6.1.9/tools/testing/selftests/pidfd/
Dpidfd.h92 ret = WEXITSTATUS(status); in wait_for_pid()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_inq.c551 if (WEXITSTATUS(wstatus) == 0) in rcheck()
553 fprintf(stderr, "%s exited, status=%d\n", what, WEXITSTATUS(wstatus)); in rcheck()
554 return WEXITSTATUS(wstatus); in rcheck()
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c76 FAIL_IF(!WIFEXITED(status) || WEXITSTATUS(status)); in test()

12345