Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/capabilities/
A Dtest_execve.c38 ksft_exit_fail_msg("vsnprintf output truncated\n"); in vmaybe_write_file()
45 ksft_exit_fail_msg("open of %s failed - %s\n", in vmaybe_write_file()
51 ksft_exit_fail_msg("short write to %s\n", filename); in vmaybe_write_file()
53 ksft_exit_fail_msg("write to %s failed - %s\n", in vmaybe_write_file()
58 ksft_exit_fail_msg("close of %s failed - %s\n", in vmaybe_write_file()
94 ksft_exit_fail_msg("PR_SET_KEEPCAPS - %s\n", in create_and_enter_ns()
108 ksft_exit_fail_msg( in create_and_enter_ns()
137 ksft_exit_fail_msg("mount private tmpfs - %s\n", in chdir_to_tmpfs()
218 ksft_exit_fail_msg("open '%s' - %s\n", in do_tests()
392 ksft_exit_fail_msg("setresgid - %s\n", in do_tests()
[all …]
/tools/testing/selftests/fchmodat2/
A 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()
95 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_symlink()
98 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_symlink()
[all …]
/tools/testing/selftests/pidfd/
A 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 …]
A Dpidfd_test.c106 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success()
111 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success()
119 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success()
132 ksft_exit_fail_msg("%s test: Failed to join thread\n", in test_pidfd_send_signal_simple_success()
136 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success()
174 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
182 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
187 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail()
379 ksft_exit_fail_msg( in test_pidfd_send_signal_recycled_pid_fail()
410 ksft_exit_fail_msg( in test_pidfd_send_signal_syscall_support()
[all …]
/tools/testing/selftests/membarrier/
A 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 …]
/tools/testing/selftests/mm/
A Dmrelease_test.c30 ksft_exit_fail_msg("mmap failed, halting the test: %s\n", strerror(errno)); in alloc_noexit()
37 ksft_exit_fail_msg("write: %s\n", strerror(errno)); in alloc_noexit()
95 ksft_exit_fail_msg("process_mrelease with wrong pidfd: %s", in main()
108 ksft_exit_fail_msg("pipe: %s\n", strerror(errno)); in main()
114 ksft_exit_fail_msg("fork: %s\n", strerror(errno)); in main()
134 ksft_exit_fail_msg("read: %s\n", strerror(errno)); in main()
141 ksft_exit_fail_msg("pidfd_open: %s\n", strerror(errno)); in main()
148 ksft_exit_fail_msg("kill: %s\n", strerror(errno)); in main()
163 ksft_exit_fail_msg("process_mrelease: %s\n", strerror(errno)); in main()
169 ksft_exit_fail_msg("waitpid: %s\n", strerror(errno)); in main()
[all …]
A Dsplit_huge_page_test.c71 ksft_exit_fail_msg("Write failed\n"); in write_file()
115 ksft_exit_fail_msg("No THP is allocated\n"); in verify_rss_anon_split_huge_page_all_zeroes()
127 ksft_exit_fail_msg("%ld byte corrupted\n", i); in verify_rss_anon_split_huge_page_all_zeroes()
130 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes()
166 ksft_exit_fail_msg("No THP is allocated\n"); in split_pmd_thp_to_order()
174 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pmd_thp_to_order()
218 ksft_exit_fail_msg("No THP is allocated\n"); in split_pte_mapped_thp()
251 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pte_mapped_thp()
366 ksft_exit_fail_msg("Error occurred\n"); in split_file_backed_thp()
380 ksft_exit_fail_msg("cannot create temp folder\n"); in prepare_thp_fs()
[all …]
A Dmap_fixed_noreplace.c33 ksft_exit_fail_msg("Error: couldn't map the space we need for the test\n"); in find_base_addr()
36 ksft_exit_fail_msg("Error: munmap failed\n"); in find_base_addr()
64 ksft_exit_fail_msg("Error: couldn't map the space we need for the test\n"); in main()
68 ksft_exit_fail_msg("Error: munmap failed!?\n"); in main()
78 ksft_exit_fail_msg("Error: first mmap() failed unexpectedly\n"); in main()
96 ksft_exit_fail_msg("Error:1: mmap() succeeded when it shouldn't have\n"); in main()
115 ksft_exit_fail_msg("Error:2: mmap() succeeded when it shouldn't have\n"); in main()
133 ksft_exit_fail_msg("Error:3: mmap() succeeded when it shouldn't have\n"); in main()
169 ksft_exit_fail_msg("Error:5: mmap() failed when it shouldn't have\n"); in main()
187 ksft_exit_fail_msg("Error:6: mmap() failed when it shouldn't have\n"); in main()
[all …]
A Dhugepage-mremap.c71 ksft_exit_fail_msg("userfaultfd: %s\n", strerror(errno)); in register_region_with_uffd()
76 ksft_exit_fail_msg("ioctl-UFFDIO_API: %s\n", strerror(errno)); in register_region_with_uffd()
87 ksft_exit_fail_msg("mmap: %s\n", strerror(errno)); in register_region_with_uffd()
96 ksft_exit_fail_msg("ioctl-UFFDIO_REGISTER: %s\n", strerror(errno)); in register_region_with_uffd()
108 ksft_exit_fail_msg("Usage: %s [length_in_MB]\n", argv[0]); in main()
121 ksft_exit_fail_msg("Open failed: %s\n", strerror(errno)); in main()
129 ksft_exit_fail_msg("mmap1: %s\n", strerror(errno)); in main()
137 ksft_exit_fail_msg("mmap3: %s\n", strerror(errno)); in main()
144 ksft_exit_fail_msg("mmap2: %s\n", strerror(errno)); in main()
151 ksft_exit_fail_msg("mremap: %s\n", strerror(errno)); in main()
[all …]
A Dmlock-random-test.c57 ksft_exit_fail_msg("fopen: %s\n", strerror(errno)); in get_proc_locked_vm_size()
64 ksft_exit_fail_msg("sscanf() on VmLck error: %s: %d\n", in get_proc_locked_vm_size()
93 ksft_exit_fail_msg("Unable to parse /proc/self/smaps\n"); in get_proc_page_size()
105 ksft_exit_fail_msg("Unable to parse smaps entry for Size:%s\n", in get_proc_page_size()
142 ksft_exit_fail_msg("alloc_size[%d] < %u rlimit,lead to mlock failure\n", in test_mlock_within_limit()
164 ksft_exit_fail_msg("%s() failure (%s) at |%p(%d)| mlock:|%p(%d)|\n", in test_mlock_within_limit()
177 ksft_exit_fail_msg("%s left VmLck:%d on %d chunk\n", in test_mlock_within_limit()
225 ksft_exit_fail_msg("%s() succeeds? on %p(%d) mlock%p(%d)\n", in test_mlock_outof_limit()
232 ksft_exit_fail_msg("tests leads to new mlocked page: old[%d], new[%d]\n", in test_mlock_outof_limit()
252 ksft_exit_fail_msg("malloc() failure: %s\n", strerror(errno)); in main()
[all …]
A Dpagemap_ioctl.c194 ksft_exit_fail_msg("error nomem\n"); in userfaultfd_tests()
252 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
256 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
260 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
404 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
407 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
441 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
445 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
496 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
500 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
[all …]
A Dtranshuge-stress.c49 ksft_exit_fail_msg("usage: %s [-f <filename>] [-d <duration>] [size in MiB]\n", in main()
64 ksft_exit_fail_msg("open %s\n", name); in main()
74 ksft_exit_fail_msg("open pagemap\n"); in main()
79 ksft_exit_fail_msg("initial mmap"); in main()
83 ksft_exit_fail_msg("MADV_HUGEPAGE"); in main()
88 ksft_exit_fail_msg("map malloc\n"); in main()
112 ksft_exit_fail_msg("map realloc\n"); in main()
123 ksft_exit_fail_msg("MADV_DONTNEED"); in main()
A Dmlock2-tests.c184 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_lock()
188 ksft_exit_fail_msg("mlock2(0): %s\n", strerror(errno)); in test_mlock_lock()
196 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_lock()
235 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_onfault()
247 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_onfault()
262 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_lock_onfault_of_present()
285 ksft_exit_fail_msg("mmap error: %s\n", strerror(errno)); in test_munlockall0()
311 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_munlockall1()
336 ksft_exit_fail_msg("munlockall() %s\n", strerror(errno)); in test_munlockall1()
354 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_vma_management()
[all …]
A 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 …]
A Dsoft-dirty.c24 ksft_exit_fail_msg("mmap failed\n"); in test_simple()
56 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse()
67 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse()
91 ksft_exit_fail_msg("Reading PMD pagesize failed"); in test_hugepage()
95 ksft_exit_fail_msg("memalign failed\n"); in test_hugepage()
99 ksft_exit_fail_msg("madvise failed %d\n", ret); in test_hugepage()
145 ksft_exit_fail_msg("anon mmap failed\n"); in test_mprotect()
157 ksft_exit_fail_msg("file mmap failed\n"); in test_mprotect()
207 ksft_exit_fail_msg("Failed to open %s\n", PAGEMAP_FILE_PATH); in main()
/tools/testing/selftests/alsa/
A Dconf.c115 ksft_exit_fail_msg("stdout attach\n"); in dump_config_tree()
117 ksft_exit_fail_msg("config save\n"); in dump_config_tree()
132 ksft_exit_fail_msg("Out of memory\n"); in conf_load_from_file()
156 ksft_exit_fail_msg("sysfs: cannot read link '%s': %s\n", in sysfs_get()
175 ksft_exit_fail_msg("sysfs: open failed for '%s': %s\n", in sysfs_get()
181 ksft_exit_fail_msg("sysfs: unable to read value '%s': %s\n", in sysfs_get()
188 ksft_exit_fail_msg("Out of memory\n"); in sysfs_get()
216 ksft_exit_fail_msg("Wrong regex '%s'\n", regex_string); in sysfs_match()
291 ksft_exit_fail_msg("Out of memory\n"); in match_config()
311 ksft_exit_fail_msg("scandir: %s\n", strerror(errno)); in conf_load()
[all …]
/tools/testing/selftests/tmpfs/
A Dbug-link-o-tmpfile.c46 ksft_exit_fail_msg("unshare() error: unshare, errno %d\n", errno); in main()
51 ksft_exit_fail_msg("mount() error: Root filesystem private mount: Fail %d\n", errno); in main()
56 ksft_exit_fail_msg("mount() error: Mounting tmpfs on /tmp: Fail %d\n", errno); in main()
61 ksft_exit_fail_msg("openat() error: Open first temporary file: Fail %d\n", errno); in main()
65 ksft_exit_fail_msg("linkat() error: Linking the temporary file: Fail %d\n", errno); in main()
73 ksft_exit_fail_msg("openat() error: Opening the second temporary file: Fail %d\n", errno); in main()
/tools/testing/selftests/futex/functional/
A Dfutex_priv_hash.c92 ksft_exit_fail_msg("pthread_create failed: %m\n"); in create_max_threads()
103 ksft_exit_fail_msg("pthread_join failed for thread %d\n", i); in join_max_threads()
176 ksft_exit_fail_msg("Failed to initialize pthread mutex.\n"); in main()
181 ksft_exit_fail_msg("futex_hash_slots_get() failed: %d, %m\n", ret); in main()
186 ksft_exit_fail_msg("pthread_create() failed: %d, %m\n", ret); in main()
190 ksft_exit_fail_msg("pthread_join() failed: %d, %m\n", ret); in main()
196 ksft_exit_fail_msg(test_msg_auto_create); in main()
204 ksft_exit_fail_msg("pthread_barrier_init failed: %m.\n"); in main()
208 ksft_exit_fail_msg("pthread_mutex_lock failed: %m.\n"); in main()
240 ksft_exit_fail_msg(test_msg_auto_inc); in main()
[all …]
A Dfutex_numa_mpol.c65 ksft_exit_fail_msg("pthread_create failed\n"); in create_max_threads()
76 ksft_exit_fail_msg("pthread_join failed for thread %d\n", i); in join_max_threads()
94 ksft_exit_fail_msg("futex2_wake(%d, 0x%x) should fail, but didn't\n", in __test_futex()
98 ksft_exit_fail_msg("Failed futex2_wake(%d, 0x%x): %m\n", in __test_futex()
120 ksft_exit_fail_msg("Aborting due to earlier errors.\n"); in __test_futex()
173 ksft_exit_fail_msg("mmap() for %d bytes failed\n", mem_size); in main()
183 ksft_exit_fail_msg("NUMA node is left uninitialized\n"); in main()
215 ksft_exit_fail_msg("Failed to set home node: %m, %d\n", errno); in main()
227 ksft_exit_fail_msg("Returned NUMA node is %d expected %d\n", in main()
/tools/testing/selftests/signal/
A 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/clone3/
A Dclone3_clear_sighand.c57 ksft_exit_fail_msg( in test_clone3_clear_sighand()
63 ksft_exit_fail_msg("%s - sigemptyset() failed\n", in test_clone3_clear_sighand()
71 ksft_exit_fail_msg( in test_clone3_clear_sighand()
78 ksft_exit_fail_msg( in test_clone3_clear_sighand()
86 ksft_exit_fail_msg("%s - clone3(CLONE_CLEAR_SIGHAND) failed\n", in test_clone3_clear_sighand()
109 ksft_exit_fail_msg( in test_clone3_clear_sighand()
/tools/testing/selftests/x86/
A Dxstate.c99 ksft_exit_fail_msg("failed to allocate XSAVE buffer\n"); in validate_xregs_same()
118 ksft_exit_fail_msg("unable to allocate XSAVE buffer\n"); in check_xstate()
176 ksft_exit_fail_msg("pthread_create() failed\n"); in create_threads()
225 ksft_exit_fail_msg("unable allocate memory\n"); in test_context_switch()
288 ksft_exit_fail_msg("unable to allocate XSAVE buffer\n"); in ptracer_inject_xstate()
294 ksft_exit_fail_msg("PTRACE_GETREGSET failed\n"); in ptracer_inject_xstate()
302 ksft_exit_fail_msg("PTRACE_SETREGSET failed\n"); in ptracer_inject_xstate()
305 ksft_exit_fail_msg("PTRACE_GETREGSET failed\n"); in ptracer_inject_xstate()
328 ksft_exit_fail_msg("fork() failed\n"); in test_ptrace()
331 ksft_exit_fail_msg("PTRACE_TRACEME failed\n"); in test_ptrace()
[all …]
/tools/testing/selftests/arm64/fp/
A 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()
A Dfp-stress.c75 ksft_exit_fail_msg("fork() failed: %s (%d)\n", in child_start()
193 ksft_exit_fail_msg("Out of memory\n"); in child_output_read()
317 ksft_exit_fail_msg("asprintf() failed\n"); in start_fpsimd()
330 ksft_exit_fail_msg("asprintf() failed\n"); in start_kernel()
343 ksft_exit_fail_msg("Failed to set SVE VL %d\n", vl); in start_sve()
347 ksft_exit_fail_msg("asprintf() failed\n"); in start_sve()
360 ksft_exit_fail_msg("asprintf() failed\n"); in start_ssve()
381 ksft_exit_fail_msg("asprintf() failed\n"); in start_za()
394 ksft_exit_fail_msg("asprintf() failed\n"); in start_zt()
411 ksft_exit_fail_msg("SET_VL failed: %s (%d)\n", in probe_vls()
[all …]
/tools/testing/selftests/ir/
A 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()

Completed in 37 milliseconds

1234