Home
last modified time | relevance | path

Searched refs:ksft_test_result_fail (Results 1 – 25 of 78) sorted by relevance

1234

/linux-6.15/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c242 ksft_test_result_fail("statmount zero mask: %s\n", in test_statmount_zero_mask()
268 ksft_test_result_fail("statmount mnt basic: %s\n", in test_statmount_mnt_basic()
328 ksft_test_result_fail("statmount sb basic: %s\n", in test_statmount_sb_basic()
344 ksft_test_result_fail("stat root failed: %s\n", in test_statmount_sb_basic()
359 ksft_test_result_fail("statfs root failed: %s\n", in test_statmount_sb_basic()
443 ksft_test_result_fail("statmount fs type: %s\n", in test_statmount_fs_type()
473 ksft_test_result_fail("statmount mnt opts: %s\n", in test_statmount_mnt_opts()
538 ksft_test_result_fail( in test_statmount_mnt_opts()
562 ksft_test_result_fail("statmount %s: %s\n", name, in test_statmount_string()
580 ksft_test_result_fail("string out of bounds\n"); in test_statmount_string()
[all …]
/linux-6.15/tools/testing/selftests/mm/
H A Dksm_functional_tests.c249 ksft_test_result_fail("Merging memory failed"); in mmap_and_merge_range()
270 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge()
316 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge_zero_pages()
357 ksft_test_result_fail("MADV_DONTNEED failed\n"); in test_unmerge_discarded()
362 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge_discarded()
398 ksft_test_result_fail("UFFDIO_API failed\n"); in test_unmerge_uffd_wp()
503 ksft_test_result_fail("Merge in child failed\n"); in test_child_ksm_err()
529 ksft_test_result_fail("fork() failed\n"); in test_prctl_fork()
534 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork()
592 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork_exec()
[all …]
H A Dcow.c210 ksft_test_result_fail("pipe() failed\n"); in do_test_cow_in_parent()
216 ksft_test_result_fail("fork() failed\n"); in do_test_cow_in_parent()
309 ksft_test_result_fail("pipe() failed\n"); in do_test_vmsplice_in_parent()
314 ksft_test_result_fail("pipe() failed\n"); in do_test_vmsplice_in_parent()
328 ksft_test_result_fail("fork() failed\n"); in do_test_vmsplice_in_parent()
359 ksft_test_result_fail("wait() failed\n"); in do_test_vmsplice_in_parent()
367 ksft_test_result_fail("read() failed\n"); in do_test_vmsplice_in_parent()
419 ksft_test_result_fail("pipe() failed\n"); in do_test_iouring()
597 ksft_test_result_fail("pipe() failed\n"); in do_test_ro_pin()
749 ksft_test_result_fail("mmap() failed\n"); in do_run_with_base_page()
[all …]
H A Dmkdirty.c47 ksft_test_result_fail("signal() failed\n"); in do_test_write_sigsegv()
56 ksft_test_result_fail("signal() failed\n"); in do_test_write_sigsegv()
70 ksft_test_result_fail("mmap() failed\n"); in mmap_thp_range()
96 ksft_test_result_fail("mmap() failed\n"); in test_ptrace_write()
102 ksft_test_result_fail("Memory not zero\n"); in test_ptrace_write()
113 ksft_test_result_fail("write() failed\n"); in test_ptrace_write()
143 ksft_test_result_fail("write() failed\n"); in test_ptrace_write_thp()
167 ksft_test_result_fail("mmap() failed\n"); in test_page_migration()
174 ksft_test_result_fail("mprotect() failed\n"); in test_page_migration()
207 ksft_test_result_fail("mprotect() failed\n"); in test_page_migration_thp()
[all …]
H A Dgup_longterm.c102 ksft_test_result_fail("ftruncate() failed (%s)\n", strerror(errno)); in do_test()
109 ksft_test_result_fail("fallocate() failed (%s)\n", strerror(errno)); in do_test()
119 ksft_test_result_fail("mmap() failed (%s)\n", strerror(errno)); in do_test()
137 ksft_test_result_fail("mprotect() failed (%s)\n", strerror(errno)); in do_test()
178 ksft_test_result_fail("PIN_LONGTERM_TEST_START failed (%s)\n", in do_test()
261 ksft_test_result_fail("memfd_create() failed (%s)\n", strerror(errno)); in run_with_memfd()
278 ksft_test_result_fail("tmpfile() failed (%s)\n", strerror(errno)); in run_with_tmpfile()
284 ksft_test_result_fail("fileno() failed (%s)\n", strerror(errno)); in run_with_tmpfile()
302 ksft_test_result_fail("mkstemp() failed (%s)\n", strerror(errno)); in run_with_local_tmpfile()
307 ksft_test_result_fail("unlink() failed (%s)\n", strerror(errno)); in run_with_local_tmpfile()
H A Dmlock2-tests.c268 ksft_test_result_fail("mlock2(MLOCK_ONFAULT) error: %s", strerror(errno)); in test_lock_onfault_of_present()
358 ksft_test_result_fail("mlock error: %s", strerror(errno)); in test_vma_management()
365 ksft_test_result_fail("couldn't find mapping in /proc/self/maps"); in test_vma_management()
375 ksft_test_result_fail("VMAs are not merged to start, aborting test"); in test_vma_management()
380 ksft_test_result_fail("munlock(): %s", strerror(errno)); in test_vma_management()
387 ksft_test_result_fail("couldn't find mapping in /proc/self/maps"); in test_vma_management()
393 ksft_test_result_fail("failed to split VMA for munlock"); in test_vma_management()
399 ksft_test_result_fail("munlock(): %s", strerror(errno)); in test_vma_management()
406 ksft_test_result_fail("couldn't find mapping in /proc/self/maps"); in test_vma_management()
412 ksft_test_result_fail("failed to merge VMAs after munlock"); in test_vma_management()
H A Duffd-wp-mremap.c142 ksft_test_result_fail("uffd-wp not %s for pte %lu!\n", in check_uffd_wp_state()
179 ksft_test_result_fail("alloc_one_folio() failed\n"); in test_one_folio()
188 ksft_test_result_fail("userfaultfd_open() failed\n"); in test_one_folio()
192 ksft_test_result_fail("uffd_register() failed\n"); in test_one_folio()
199 ksft_test_result_fail("ioctl(UFFDIO_WRITEPROTECT) failed\n"); in test_one_folio()
222 ksft_test_result_fail("mmap_aligned() failed\n"); in test_one_folio()
226 ksft_test_result_fail("mremap() failed\n"); in test_one_folio()
/linux-6.15/tools/testing/selftests/riscv/abi/
H A Dpointer_masking.c110 return ksft_test_result_fail("PMLEN=%d valid tag\n", pmlen); in test_dereference_pmlen()
112 return ksft_test_result_fail("PMLEN=%d bad value\n", pmlen); in test_dereference_pmlen()
122 ksft_test_result_fail("PMLEN=%d invalid tag\n", pmlen); in test_dereference_pmlen()
216 ksft_test_result_fail(err_pwrite_msg); in test_tagged_addr_abi_sysctl()
223 ksft_test_result_fail(err_pwrite_msg); in test_tagged_addr_abi_sysctl()
253 return ksft_test_result_fail("PMLEN=%d ABI disabled read\n", pmlen); in test_tagged_addr_abi_pmlen()
265 return ksft_test_result_fail("PMLEN=%d ABI enabled write\n", pmlen); in test_tagged_addr_abi_pmlen()
269 return ksft_test_result_fail("PMLEN=%d ABI enabled read\n", pmlen); in test_tagged_addr_abi_pmlen()
272 return ksft_test_result_fail("PMLEN=%d ABI enabled value\n", pmlen); in test_tagged_addr_abi_pmlen()
291 return ksft_test_result_fail("PMLEN=%d invalid tag read\n", pmlen); in test_tagged_addr_abi_pmlen()
[all …]
/linux-6.15/tools/testing/selftests/arm64/fp/
H A Dvec-syscfg.c184 ksft_test_result_fail("Unable to open %s: %d (%s)\n", in file_read_integer()
202 ksft_test_result_fail("Unable to open %s: %d (%s)\n", in file_write_integer()
229 ksft_test_result_fail("%s is %d but child VL is %d\n", in proc_read_default()
262 ksft_test_result_fail("%s is %d but child VL is %d\n", in proc_write_min()
298 ksft_test_result_fail("%s is %d but child VL is %d\n", in proc_write_max()
318 ksft_test_result_fail("%s prctl() read failed: %d (%s)\n", in prctl_get()
343 ksft_test_result_fail("%s prctl set failed: %d (%s)\n", in prctl_set_same()
380 ksft_test_result_fail("%s set %d but RDVL is %d\n", in prctl_set()
409 ksft_test_result_fail("%s prctl() reports _INHERIT\n", in prctl_set()
444 ksft_test_result_fail("%s is %d but child VL is %d\n", in prctl_set_no_child()
[all …]
H A Dsve-ptrace.c186 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
204 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
241 ksft_test_result_fail("Failed to set %s VL %u\n", in ptrace_set_get_vl()
251 ksft_test_result_fail("Failed to read %s VL %u\n", in ptrace_set_get_vl()
312 ksft_test_result_fail("get_fpsimd(): %s\n", in ptrace_sve_fpsimd()
372 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_sve_data()
379 ksft_test_result_fail("Failed to read %s VL %u data\n", in ptrace_set_sve_get_sve_data()
467 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_fpsimd_data()
543 ksft_test_result_fail("Failed to read %s VL %u data\n", in ptrace_set_fpsimd_get_sve_data()
662 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent()
[all …]
H A Dza-ptrace.c132 ksft_test_result_fail("Failed to set VL %u\n", vl); in ptrace_set_get_vl()
141 ksft_test_result_fail("Failed to read VL %u\n", vl); in ptrace_set_get_vl()
166 ksft_test_result_fail("Failed to set VL %u no data\n", vl); in ptrace_set_no_data()
172 ksft_test_result_fail("Failed to read VL %u no data\n", vl); in ptrace_set_no_data()
179 ksft_test_result_fail("VL %u wrote %d bytes, only read %d\n", in ptrace_set_no_data()
206 ksft_test_result_fail("Error allocating %ld byte buffer for VL %u\n", in ptrace_set_get_data()
221 ksft_test_result_fail("Failed to set VL %u data\n", vl); in ptrace_set_get_data()
227 ksft_test_result_fail("Failed to read VL %u data\n", vl); in ptrace_set_get_data()
234 ksft_test_result_fail("VL %u wrote %d bytes, only read %d\n", in ptrace_set_get_data()
293 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent()
[all …]
/linux-6.15/tools/testing/selftests/x86/
H A Dtest_vsyscall.c160 ksft_test_result_fail("vDSO gettimeofday() failed: %ld\n", ret_vdso); in test_gtod()
169 ksft_test_result_fail("vsys gettimeofday() failed: %ld\n", ret_vsys); in test_gtod()
197 ksft_test_result_fail("vDSO failed (ret:%ld output:%ld)\n", in test_time()
200 ksft_test_result_fail("vDSO returned the wrong time (%ld %ld %ld)\n", in test_time()
210 ksft_test_result_fail("vsyscall failed (ret:%ld output:%ld)\n", in test_time()
259 ksft_test_result_fail("vDSO getcpu() failed\n"); in test_getcpu()
273 ksft_test_result_fail("Wrong values\n"); in test_getcpu()
284 ksft_test_result_fail("vsyscall getcpu() failed\n"); in test_getcpu()
298 ksft_test_result_fail("Wrong values\n"); in test_getcpu()
333 ksft_test_result_fail("We have read access, but we shouldn't\n"); in test_vsys_r()
[all …]
/linux-6.15/tools/testing/selftests/futex/functional/
H A Dfutex_waitv.c50 ksft_test_result_fail("futex_waitv returned: %d %s\n", in waiterfn()
53 ksft_test_result_fail("futex_waitv returned: %d, expecting %d\n", in waiterfn()
104 ksft_test_result_fail("futex_wake private returned: %d %s\n", in main()
137 ksft_test_result_fail("futex_wake shared returned: %d %s\n", in main()
158 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in main()
177 ksft_test_result_fail("futex_wake private returned: %d %s\n", in main()
195 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in main()
211 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in main()
227 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in main()
H A Dfutex_requeue.c84 ksft_test_result_fail("futex_requeue simple returned: %d %s\n", in main()
94 ksft_test_result_fail("futex_requeue simple returned: %d %s\n", in main()
117 ksft_test_result_fail("futex_requeue many returned: %d %s\n", in main()
126 ksft_test_result_fail("futex_requeue many returned: %d %s\n", in main()
H A Dfutex_wait.c89 ksft_test_result_fail("futex_wake private returned: %d %s\n", in main()
117 ksft_test_result_fail("futex_wake shared (page anon) returned: %d %s\n", in main()
156 ksft_test_result_fail("futex_wake shared (file backed) returned: %d %s\n", in main()
/linux-6.15/tools/testing/selftests/exec/
H A Dnull-argv.c28 ksft_test_result_fail("fork failed: %s\n", msg); in check_result()
33 ksft_test_result_fail("waitpid failed: %s\n", msg); in check_result()
37 ksft_test_result_fail("child did not exit: %s\n", msg); in check_result()
41 ksft_test_result_fail("non-zero exit: %s\n", msg); in check_result()
H A Dexecveat.c62 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
69 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
97 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
111 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
117 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
125 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
/linux-6.15/tools/testing/selftests/arm64/mte/
H A Dcheck_prctl.c47 ksft_test_result_fail("check_basic_read\n"); in check_basic_read()
74 ksft_test_result_fail("%s\n", name); in set_mode_test()
80 ksft_test_result_fail("%s\n", name); in set_mode_test()
89 ksft_test_result_fail("%s\n", name); in set_mode_test()
/linux-6.15/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c178 ksft_test_result_fail("%s: [FAIL,test-1]\n", TEST_PREFIX); in main()
188 ksft_test_result_fail("%s: [FAIL,test-2]\n", TEST_PREFIX); in main()
198 ksft_test_result_fail("%s: [FAIL,test-3]\n", TEST_PREFIX); in main()
211 ksft_test_result_fail("%s: [FAIL,test-4]\n", TEST_PREFIX); in main()
229 ksft_test_result_fail("%s: [FAIL,test-5]\n", TEST_PREFIX); in main()
247 ksft_test_result_fail("%s: [FAIL,test-6]\n", TEST_PREFIX); in main()
/linux-6.15/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c273 ksft_test_result_fail("bad file descriptor ignored\n"); in main()
284 ksft_test_result_fail("cachestat fails with %s\n", dev_filename); in main()
293 ksft_test_result_fail("cachestat fails with normal file\n"); in main()
300 ksft_test_result_fail("cachestat fsync fails with normal file\n"); in main()
314 ksft_test_result_fail("cachestat fails with a shmem file\n"); in main()
/linux-6.15/tools/testing/selftests/capabilities/
H A Dtest_execve.c281 ksft_test_result_fail( in do_tests()
284 ksft_test_result_fail( in do_tests()
297 ksft_test_result_fail( in do_tests()
308 ksft_test_result_fail( in do_tests()
315 ksft_test_result_fail("PR_CAP_AMBIENT_IS_SET is broken\n"); in do_tests()
324 ksft_test_result_fail( in do_tests()
338 ksft_test_result_fail("Dropping I should have dropped A\n"); in do_tests()
/linux-6.15/tools/testing/selftests/timens/
H A Dfutex.c38 ksft_test_result_fail("futex didn't return ETIMEDOUT\n"); in run_test()
43 ksft_test_result_fail("futex didn't return ETIMEDOUT: %s\n", in run_test()
52 ksft_test_result_fail("futex slept less than 100ms\n"); in run_test()
/linux-6.15/tools/testing/selftests/vDSO/
H A Dvdso_test_abi.c69 ksft_test_result_fail("%s\n", name[0]); in vdso_test_gettimeofday()
95 ksft_test_result_fail("%s %s\n", name[1], in vdso_test_clock_gettime()
119 ksft_test_result_fail("%s\n", name[2]); in vdso_test_time()
157 ksft_test_result_fail("%s %s\n", name[3], in vdso_test_clock_getres()
/linux-6.15/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c157 ksft_test_result_fail("FAIL (Allocation Failed!) %d\n", ret); in test_alloc_and_import()
164 ksft_test_result_fail("FAIL (mmap() failed): %s\n", strerror(errno)); in test_alloc_and_import()
199 ksft_test_result_fail("%s dmabuf sync failed\n", __func__); in test_alloc_and_import()
222 ksft_test_result_fail("FAIL (Allocation (%i) failed) %d\n", i, ret); in test_alloc_zeroed()
229 ksft_test_result_fail("FAIL (mmap() failed!): %s\n", strerror(errno)); in test_alloc_zeroed()
247 ksft_test_result_fail("FAIL (Allocation (%i) failed) %d\n", i, ret); in test_alloc_zeroed()
254 ksft_test_result_fail("FAIL (mmap() failed!): %s\n", strerror(errno)); in test_alloc_zeroed()
/linux-6.15/tools/testing/selftests/arm64/abi/
H A Dptrace.c74 ksft_test_result_fail("count_tpidrs\n"); in test_tpidr()
126 ksft_test_result_fail("write_tpidr_only\n"); in test_tpidr()
215 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent()
229 ksft_test_result_fail("PTRACE_CONT: %s\n", in do_parent()

1234