Home
last modified time | relevance | path

Searched refs:ksft_exit_fail_msg (Results 1 – 25 of 28) sorted by relevance

12

/tools/testing/selftests/capabilities/
Dtest_execve.c43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file()
46 ksft_exit_fail_msg("vsnprintf output truncated\n"); in vmaybe_write_file()
53 ksft_exit_fail_msg("open of %s failed - %s\n", in vmaybe_write_file()
59 ksft_exit_fail_msg("short write to %s\n", filename); in vmaybe_write_file()
61 ksft_exit_fail_msg("write to %s failed - %s\n", in vmaybe_write_file()
66 ksft_exit_fail_msg("close of %s failed - %s\n", in vmaybe_write_file()
106 ksft_exit_fail_msg("PR_SET_KEEPCAPS - %s\n", in create_and_enter_ns()
109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns()
117 ksft_exit_fail_msg( in create_and_enter_ns()
133 ksft_exit_fail_msg("remount everything private - %s\n", in create_and_enter_ns()
[all …]
Dvalidate_cap.c31 ksft_exit_fail_msg("wrong argv[%d]\n", i); in bool_arg()
46 ksft_exit_fail_msg("wrong argc\n"); in main()
/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c35 ksft_exit_fail_msg("Unexpected command line argument\n"); in main()
40 ksft_exit_fail_msg("invalid input parameter %s\n", in main()
56 ksft_exit_fail_msg( in main()
70 ksft_exit_fail_msg("%s - pidfd_open failed\n", in main()
75 ksft_exit_fail_msg("%s - signal failed\n", in main()
81 ksft_exit_fail_msg("%s - pidfd_send_signal failed\n", in main()
90 ksft_exit_fail_msg("%s - poll failed\n", in main()
94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main()
98 ksft_exit_fail_msg( in main()
103 ksft_exit_fail_msg( in main()
[all …]
Dpidfd_test.c71 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success()
80 ksft_exit_fail_msg("%s test: Failed to send signal\n", in test_pidfd_send_signal_simple_success()
84 ksft_exit_fail_msg("%s test: Failed to receive signal\n", in test_pidfd_send_signal_simple_success()
108 ksft_exit_fail_msg("%s test: Failed to create new process\n", in test_pidfd_send_signal_exited_fail()
121 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
129 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
134 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
171 ksft_exit_fail_msg("%s test: Failed to unshare pid namespace\n", in test_pidfd_send_signal_recycled_pid_fail()
182 ksft_exit_fail_msg("%s test: Failed to unshare mount namespace\n", in test_pidfd_send_signal_recycled_pid_fail()
188 ksft_exit_fail_msg("%s test: Failed to remount / private\n", in test_pidfd_send_signal_recycled_pid_fail()
[all …]
Dpidfd_fdinfo_test.c46 ksft_exit_fail_msg("%s test: Fatal: %s\n", test_name, err->msg); in error_report()
69 ksft_exit_fail_msg("%s test: Unknown code: %d %s\n", in error_report()
/tools/testing/selftests/membarrier/
Dmembarrier_test_impl.h23 ksft_exit_fail_msg( in test_membarrier_cmd_fail()
28 ksft_exit_fail_msg( in test_membarrier_cmd_fail()
46 ksft_exit_fail_msg( in test_membarrier_flags_fail()
51 ksft_exit_fail_msg( in test_membarrier_flags_fail()
69 ksft_exit_fail_msg( in test_membarrier_global_success()
85 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail()
90 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail()
108 ksft_exit_fail_msg( in test_membarrier_register_private_expedited_success()
125 ksft_exit_fail_msg( in test_membarrier_private_expedited_success()
142 ksft_exit_fail_msg( in test_membarrier_private_expedited_sync_core_fail()
[all …]
/tools/testing/selftests/sigaltstack/
Dsas.c52 ksft_exit_fail_msg("SP is not on sigaltstack\n"); in my_usr1()
63 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1()
75 ksft_exit_fail_msg("[RUN]\tAborting\n"); in my_usr1()
128 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
134 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
141 ksft_exit_fail_msg("Initial sigaltstack state was %x; " in main()
162 ksft_exit_fail_msg( in main()
172 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
184 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
188 ksft_exit_fail_msg("ss_flags=%x, should be SS_AUTODISARM\n", in main()
/tools/testing/selftests/vm/
Dmadv_populate.c38 ksft_exit_fail_msg("reading pagemap failed\n"); in pagemap_get_entry()
65 ksft_exit_fail_msg("mmap failed\n"); in sense_support()
87 ksft_exit_fail_msg("mmap failed\n"); in test_prot_read()
108 ksft_exit_fail_msg("mmap failed\n"); in test_prot_write()
130 ksft_exit_fail_msg("mmap failed\n"); in test_holes()
133 ksft_exit_fail_msg("munmap failed\n"); in test_holes()
168 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_populated()
182 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_not_populated()
200 ksft_exit_fail_msg("mmap failed\n"); in test_populate_read()
222 ksft_exit_fail_msg("mmap failed\n"); in test_populate_write()
[all …]
Dmemfd_secret.c238 ksft_exit_fail_msg("Failed to get page size %s\n", in prepare()
242 ksft_exit_fail_msg("Unable to detect mlock limit: %s\n", in prepare()
257 ksft_exit_fail_msg("Unable to set mlock limit: %s\n", in prepare()
277 ksft_exit_fail_msg("memfd_secret failed: %s\n", in main()
/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c61 ksft_exit_fail_msg( in test_clone3_clear_sighand()
67 ksft_exit_fail_msg("%s - sigemptyset() failed\n", in test_clone3_clear_sighand()
75 ksft_exit_fail_msg( in test_clone3_clear_sighand()
82 ksft_exit_fail_msg( in test_clone3_clear_sighand()
90 ksft_exit_fail_msg("%s - clone3(CLONE_CLEAR_SIGHAND) failed\n", in test_clone3_clear_sighand()
113 ksft_exit_fail_msg( in test_clone3_clear_sighand()
Dclone3_set_tid.c164 ksft_exit_fail_msg("pipe() failed\n"); in main()
168 ksft_exit_fail_msg( in main()
263 ksft_exit_fail_msg("Waiting for child %d failed", pid); in main()
283 ksft_exit_fail_msg("unshare(CLONE_NEWPID) failed: %s\n", in main()
345 ksft_exit_fail_msg( in main()
Dclone3_selftests.h72 ksft_exit_fail_msg( in test_clone3_supported()
/tools/testing/selftests/arm64/fp/
Dsve-probe-vls.c37 ksft_exit_fail_msg("PR_SVE_SET_VL failed: %s (%d)\n", in main()
43 ksft_exit_fail_msg("PR_SVE_SET_VL reports %d, RDVL %d\n", in main()
47 ksft_exit_fail_msg("VL %d invalid\n", vl); in main()
51 ksft_exit_fail_msg("Too many VLs %u >= SVE_VQ_MAX\n", in main()
Dsve-ptrace.c61 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno)); in do_child()
64 ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno)); in do_child()
122 ksft_exit_fail_msg("Dumping non-SVE register\n"); in dump_sve_regs()
168 ksft_exit_fail_msg("Child died unexpectedly\n"); in do_parent()
324 ksft_exit_fail_msg("Initial check_vregs() failed\n"); in main()
/tools/testing/selftests/ir/
Dir_loopback.c73 ksft_exit_fail_msg("cannot open %s: %m\n", buf); in lirc_open()
89 ksft_exit_fail_msg("cannot open: %s: %m\n", buf); in lirc_open()
103 ksft_exit_fail_msg("Usage: %s <write rcN> <read rcN>\n", in main()
109 ksft_exit_fail_msg("failed to set scancode rec mode %s: %m\n", in main()
114 ksft_exit_fail_msg("failed to set scancode send mode %s: %m\n", in main()
120 ksft_exit_fail_msg("failed to open %s: %m\n", buf); in main()
127 ksft_exit_fail_msg("failed to set write decoder\n"); in main()
164 ksft_exit_fail_msg("failed to send ir: %m\n"); in main()
/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c143 ksft_exit_fail_msg( in suspend()
149 ksft_exit_fail_msg("timerfd_create() failed\n"); in suspend()
154 ksft_exit_fail_msg("timerfd_settime() failed\n"); in suspend()
157 ksft_exit_fail_msg("Failed to enter Suspend state\n"); in suspend()
189 ksft_exit_fail_msg("sched_getaffinity() failed\n"); in main()
Dbreakpoint_test.c49 ksft_exit_fail_msg("Can't set breakpoint addr: %s\n", in set_breakpoint_addr()
281 ksft_exit_fail_msg("Can't poke: %s\n", strerror(errno)); in check_success()
/tools/testing/selftests/openat2/
Drename_attack_test.c42 ksft_exit_fail_msg("setup_testdir: failed to create tmpdir\n"); in setup_testdir()
45 ksft_exit_fail_msg("setup_testdir: failed to open tmpdir\n"); in setup_testdir()
104 ksft_exit_fail_msg("test_rename_attack: failed to open 'a'\n"); in test_rename_attack()
Dhelpers.h70 ksft_exit_fail_msg("%s:%d %s failed - errno:%d\n", \
92 ksft_exit_fail_msg("ASSERT(%s:%d) failed (%s): " msg "\n", \
Dhelpers.c63 ksft_exit_fail_msg("fdreadlink: malloc failed\n"); in fdreadlink()
Dresolve_test.c58 ksft_exit_fail_msg("setup_testdir: failed to create tmpdir\n"); in setup_testdir()
61 ksft_exit_fail_msg("setup_testdir: failed to open tmpdir\n"); in setup_testdir()
67 ksft_exit_fail_msg("setup_testdir: failed to open tmpdir\n"); in setup_testdir()
/tools/testing/selftests/sync/
Dsync_test.c80 ksft_exit_fail_msg("stat failed on /sys/kernel/debug/sync/sw_sync: %s", in sync_api_supported()
109 ksft_exit_fail_msg("%d out of %d sync tests failed\n", in main()
/tools/testing/selftests/resctrl/
Dresctrl_tests.c224 return ksft_exit_fail_msg("Not running as root, abort testing.\n"); in main()
228 ksft_exit_fail_msg("Too long benchmark command.\n"); in main()
234 ksft_exit_fail_msg("Too long benchmark command argument.\n"); in main()
256 return ksft_exit_fail_msg("resctrl FS does not exist\n"); in main()
/tools/testing/selftests/filesystems/fuse/
Dtest_framework.h19 #define ksft_exit_fail_msg(...) printf(__VA_ARGS__) macro
/tools/testing/selftests/
Dkselftest.h253 static inline int ksft_exit_fail_msg(const char *msg, ...) in ksft_exit_fail_msg() function

12