Home
last modified time | relevance | path

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

123

/linux/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 …]
/linux/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 …]
/linux/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.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()
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()
327 ksft_exit_fail_msg( in test_pidfd_send_signal_recycled_pid_fail()
358 ksft_exit_fail_msg( in test_pidfd_send_signal_syscall_support()
370 ksft_exit_fail_msg("%s test: Failed to send signal\n", in test_pidfd_send_signal_syscall_support()
476 ksft_exit_fail_msg("%s test: Failed\n", test_name); in test_pidfd_poll_exec()
[all …]
/linux/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 …]
/linux/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 …]
/linux/tools/testing/selftests/mm/
A Dsplit_huge_page_test.c68 ksft_exit_fail_msg("Write failed\n"); in write_file()
173 ksft_exit_fail_msg("No THP is allocated\n"); in split_pmd_thp()
181 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pmd_thp()
185 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in split_pmd_thp()
225 ksft_exit_fail_msg("No THP is allocated\n"); in split_pte_mapped_thp()
258 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pte_mapped_thp()
323 ksft_exit_fail_msg("Unable to umount %s\n", tmpfs_loc); in split_file_backed_thp()
337 ksft_exit_fail_msg("Error occurred\n"); in split_file_backed_thp()
351 ksft_exit_fail_msg("cannot create temp folder\n"); in prepare_thp_fs()
365 ksft_exit_fail_msg("cannot remove tmp dir: %s\n", in cleanup_thp_fs()
[all …]
A Dpagemap_ioctl.c193 ksft_exit_fail_msg("error nomem\n"); in userfaultfd_tests()
249 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
253 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
257 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
401 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
404 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
438 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
442 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
493 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
497 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd()
[all …]
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 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 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 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 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 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 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 Dvm_util.c29 ksft_exit_fail_msg("reading pagemap failed\n"); in pagemap_get_entry()
79 ksft_exit_fail_msg("PAGEMAP_SCAN succeeded unexpectedly\n"); in pagemap_scan_supported()
97 ksft_exit_fail_msg( in page_entry_is()
138 ksft_exit_fail_msg("opening clear_refs failed\n"); in clear_softdirty()
142 ksft_exit_fail_msg("writing clear_refs failed\n"); in clear_softdirty()
189 ksft_exit_fail_msg("Reading status error\n"); in rss_anon()
208 ksft_exit_fail_msg("%s: Pattern is too long\n", __func__); in __check_huge()
227 ksft_exit_fail_msg("Reading smap error\n"); in __check_huge()
257 ksft_exit_fail_msg("mmap transhuge\n"); in allocate_transhuge()
260 ksft_exit_fail_msg("MADV_HUGEPAGE\n"); in allocate_transhuge()
[all …]
A 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()
A Dthuge-gen.c123 ksft_exit_fail_msg("mmap: %s\n", strerror(errno)); in test_mmap()
133 ksft_exit_fail_msg("%s: unmap %s\n", __func__, strerror(errno)); in test_mmap()
151 ksft_exit_fail_msg("shmget: %s\n", strerror(errno)); in test_shmget()
155 ksft_exit_fail_msg("shmctl: %s\n", strerror(errno)); in test_shmget()
159 ksft_exit_fail_msg("shmat: %s\n", strerror(errno)); in test_shmget()
170 ksft_exit_fail_msg("%s: shmdt: %s\n", __func__, strerror(errno)); in test_shmget()
199 ksft_exit_fail_msg("Please do echo %lu > /proc/sys/kernel/shmmax", in find_pagesizes()
204 ksft_exit_fail_msg("No GB pages available on x86-64\n" in find_pagesizes()
/linux/tools/testing/selftests/sigaltstack/
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()
/linux/tools/testing/selftests/arm64/fp/
A Dfp-stress.c72 ksft_exit_fail_msg("fork() 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("asprintf() failed\n"); in start_kernel()
341 ksft_exit_fail_msg("Failed to set SVE VL %d\n", vl); in start_sve()
345 ksft_exit_fail_msg("asprintf() failed\n"); in start_sve()
358 ksft_exit_fail_msg("asprintf() failed\n"); in start_ssve()
379 ksft_exit_fail_msg("asprintf() failed\n"); in start_za()
392 ksft_exit_fail_msg("asprintf() failed\n"); in start_zt()
409 ksft_exit_fail_msg("SET_VL failed: %s (%d)\n", in probe_vls()
[all …]
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()
/linux/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()
/linux/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()
/linux/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test.c80 ksft_exit_fail_msg("short write to %s\n", path); in write_file()
84 ksft_exit_fail_msg("closing %s\n", path); in write_file()
94 ksft_exit_fail_msg("retrieving %s mount ID for %s: %s\n", in get_mnt_id()
98 ksft_exit_fail_msg("no %s mount ID available for %s\n", in get_mnt_id()
137 ksft_exit_fail_msg("unsharing mountns and userns: %s\n", in setup_namespace()
148 ksft_exit_fail_msg("failed to open mountinfo: %s\n", in setup_namespace()
153 ksft_exit_fail_msg("making mount tree private: %s\n", in setup_namespace()
157 ksft_exit_fail_msg("creating temporary directory %s: %s\n", in setup_namespace()
165 ksft_exit_fail_msg("opening root directory: %s", in setup_namespace()
172 ksft_exit_fail_msg("mounting temp root %s: %s\n", in setup_namespace()
[all …]
/linux/tools/testing/selftests/vDSO/
A Dvdso_test_chacha.c105 ksft_exit_fail_msg("Main loop outputs do not match on trial %u, split %u\n", trial, split); in main()
107 ksft_exit_fail_msg("Main loop counters do not match on trial %u, split %u\n", trial, split); in main()
118 ksft_exit_fail_msg("Block limit outputs do not match after first round\n"); in main()
120 ksft_exit_fail_msg("Block limit counters do not match after first round\n"); in main()
125 ksft_exit_fail_msg("Block limit outputs do not match after second round\n"); in main()
127 ksft_exit_fail_msg("Block limit counters do not match after second round\n"); in main()

Completed in 47 milliseconds

123