Home
last modified time | relevance | path

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

12

/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/fchmodat2/
Dfchmodat2_test.c26 ksft_exit_fail_msg("%s: failed to create tmpdir\n", __func__); in setup_testdir()
30 ksft_exit_fail_msg("%s: failed to open tmpdir\n", __func__); in setup_testdir()
34 ksft_exit_fail_msg("%s: failed to create file in tmpdir\n", in setup_testdir()
40 ksft_exit_fail_msg("%s: failed to create symlink in tmpdir\n", in setup_testdir()
52 ksft_exit_fail_msg("%s: %s: fstatat failed\n", in expect_mode()
67 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_regfile()
70 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_regfile()
76 ksft_exit_fail_msg("%s: fchmodat2(AT_SYMLINK_NOFOLLOW) failed\n", in test_regfile()
80 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2 with nofollow\n", in test_regfile()
95 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_symlink()
[all …]
/linux-6.6.21/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()
122 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
130 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
135 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
172 ksft_exit_fail_msg("%s test: Failed to unshare pid namespace\n", in test_pidfd_send_signal_recycled_pid_fail()
183 ksft_exit_fail_msg("%s test: Failed to unshare mount namespace\n", in test_pidfd_send_signal_recycled_pid_fail()
189 ksft_exit_fail_msg("%s test: Failed to remount / private\n", in test_pidfd_send_signal_recycled_pid_fail()
[all …]
/linux-6.6.21/tools/testing/selftests/membarrier/
Dmembarrier_test_impl.h29 ksft_exit_fail_msg( in test_membarrier_get_registrations()
33 ksft_exit_fail_msg( in test_membarrier_get_registrations()
50 ksft_exit_fail_msg( in test_membarrier_cmd_fail()
55 ksft_exit_fail_msg( in test_membarrier_cmd_fail()
73 ksft_exit_fail_msg( in test_membarrier_flags_fail()
78 ksft_exit_fail_msg( in test_membarrier_flags_fail()
96 ksft_exit_fail_msg( in test_membarrier_global_success()
112 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail()
117 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail()
135 ksft_exit_fail_msg( in test_membarrier_register_private_expedited_success()
[all …]
/linux-6.6.21/tools/testing/selftests/alsa/
Dconf.c122 ksft_exit_fail_msg("stdout attach\n"); in dump_config_tree()
124 ksft_exit_fail_msg("config save\n"); in dump_config_tree()
136 ksft_exit_fail_msg("Unable to parse filename %s\n", filename); in conf_load_from_file()
139 ksft_exit_fail_msg("Out of memory\n"); in conf_load_from_file()
143 ksft_exit_fail_msg("Unable to parse filename %s\n", filename); in conf_load_from_file()
163 ksft_exit_fail_msg("sysfs: cannot read link '%s': %s\n", in sysfs_get()
182 ksft_exit_fail_msg("sysfs: open failed for '%s': %s\n", in sysfs_get()
188 ksft_exit_fail_msg("sysfs: unable to read value '%s': %s\n", in sysfs_get()
195 ksft_exit_fail_msg("Out of memory\n"); in sysfs_get()
211 ksft_exit_fail_msg("Missing path field in the sysfs block\n"); in sysfs_match()
[all …]
Dpcm-test.c61 ksft_exit_fail_msg("clock_get_time\n"); in timestamp_now()
85 ksft_exit_fail_msg("snd_config_get_id\n"); in device_from_id()
110 ksft_exit_fail_msg("Out of memory\n"); in missing_device()
192 ksft_exit_fail_msg("Out of memory\n"); in find_pcms()
200 ksft_exit_fail_msg("snd_ctl_pcm_next_device\n"); in find_pcms()
219 ksft_exit_fail_msg("snd_ctl_pcm_info: %d:%d:%d\n", in find_pcms()
231 ksft_exit_fail_msg("Out of memory\n"); in find_pcms()
291 ksft_exit_fail_msg("Unknown test class %d\n", class); in test_pcm_time()
310 ksft_exit_fail_msg("Wrong format '%s'\n", cs); in test_pcm_time()
320 ksft_exit_fail_msg("Out of memory\n"); in test_pcm_time()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/mm/
Dmadv_populate.c38 ksft_exit_fail_msg("mmap failed\n"); in sense_support()
60 ksft_exit_fail_msg("mmap failed\n"); in test_prot_read()
81 ksft_exit_fail_msg("mmap failed\n"); in test_prot_write()
103 ksft_exit_fail_msg("mmap failed\n"); in test_holes()
106 ksft_exit_fail_msg("munmap failed\n"); in test_holes()
141 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_populated()
155 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_not_populated()
173 ksft_exit_fail_msg("mmap failed\n"); in test_populate_read()
195 ksft_exit_fail_msg("mmap failed\n"); in test_populate_write()
213 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_softdirty()
[all …]
Dsoft-dirty.c22 ksft_exit_fail_msg("mmap failed\n"); in test_simple()
54 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse()
65 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse()
84 ksft_exit_fail_msg("Reading PMD pagesize failed"); in test_hugepage()
88 ksft_exit_fail_msg("memalign failed\n"); in test_hugepage()
92 ksft_exit_fail_msg("madvise failed %d\n", ret); in test_hugepage()
138 ksft_exit_fail_msg("anon mmap failed\n"); in test_mprotect()
150 ksft_exit_fail_msg("file mmap failed\n"); in test_mprotect()
200 ksft_exit_fail_msg("Failed to open %s\n", PAGEMAP_FILE_PATH); in main()
Dvm_util.c27 ksft_exit_fail_msg("reading pagemap failed\n"); in pagemap_get_entry()
63 ksft_exit_fail_msg("opening clear_refs failed\n"); in clear_softdirty()
67 ksft_exit_fail_msg("writing clear_refs failed\n"); in clear_softdirty()
112 ksft_exit_fail_msg("%s: Pattern is too long\n", __func__); in __check_huge()
116 ksft_exit_fail_msg("%s: Failed to open file %s\n", __func__, SMAP_FILE_PATH); in __check_huge()
131 ksft_exit_fail_msg("Reading smap error\n"); in __check_huge()
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()
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dfp-stress.c67 ksft_exit_fail_msg("Failed to create stdout pipe: %s (%d)\n", in child_start()
72 ksft_exit_fail_msg("fork() failed: %s (%d)\n", in child_start()
138 ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n", in child_start()
191 ksft_exit_fail_msg("Out of memory\n"); in child_output_read()
315 ksft_exit_fail_msg("asprintf() failed\n"); in start_fpsimd()
328 ksft_exit_fail_msg("Failed to set SVE VL %d\n", vl); in start_sve()
332 ksft_exit_fail_msg("asprintf() failed\n"); in start_sve()
345 ksft_exit_fail_msg("asprintf() failed\n"); in start_ssve()
349 ksft_exit_fail_msg("Failed to set SME VL %d\n", ret); in start_ssve()
362 ksft_exit_fail_msg("Failed to set SME VL %d\n", ret); in start_za()
[all …]
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()
Dza-ptrace.c51 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno)); in do_child()
54 ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno)); in do_child()
118 ksft_exit_fail_msg("prctl(PR_SME_SET_VL) failed: %s (%d)\n", in ptrace_set_get_vl()
275 ksft_exit_fail_msg("Child died unexpectedly\n"); in do_parent()
/linux-6.6.21/tools/testing/selftests/ir/
Dir_loopback.c82 ksft_exit_fail_msg("cannot open %s: %m\n", buf); in lirc_open()
98 ksft_exit_fail_msg("cannot open: %s: %m\n", buf); in lirc_open()
112 ksft_exit_fail_msg("Usage: %s <write rcN> <read rcN>\n", in main()
118 ksft_exit_fail_msg("failed to set scancode rec mode %s: %m\n", in main()
123 ksft_exit_fail_msg("failed to set scancode send mode %s: %m\n", in main()
129 ksft_exit_fail_msg("failed to open %s: %m\n", buf); in main()
136 ksft_exit_fail_msg("failed to set write decoder\n"); in main()
173 ksft_exit_fail_msg("failed to send ir: %m\n"); in main()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/tty/
Dtty_tstamp_update.c56 ksft_exit_fail_msg("readlink on /proc/self/fd/0 failed: %m\n"); in main()
63 ksft_exit_fail_msg("stat failed on tty path '%s': %m\n", tty); in main()
71 ksft_exit_fail_msg("failed to write to /dev/tty: %s\n", in main()
76 ksft_exit_fail_msg("stat failed on tty path '%s': %m\n", tty); in main()
/linux-6.6.21/tools/testing/selftests/resctrl/
Dresctrl_tests.c102 ksft_exit_fail_msg("Abnormal failure when preparing for the test\n"); in run_mbm_test()
129 ksft_exit_fail_msg("Abnormal failure when preparing for the test\n"); in run_mba_test()
154 ksft_exit_fail_msg("Abnormal failure when preparing for the test\n"); in run_cmt_test()
180 ksft_exit_fail_msg("Abnormal failure when preparing for the test\n"); in run_cat_test()
281 ksft_exit_fail_msg("Too long benchmark command.\n"); in main()
292 ksft_exit_fail_msg("Out of memory!\n"); in main()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/tools/testing/selftests/arm64/abi/
Dptrace.c166 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno)); in do_child()
169 ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno)); in do_child()
199 ksft_exit_fail_msg("Child died unexpectedly\n"); in do_parent()

12