Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/mm/
H A Dksm_functional_tests.c166 ksft_test_result_fail("Merging memory failed"); in mmap_and_merge_range()
187 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge()
225 ksft_test_result_fail("'ksm_zero_pages' updated after merging\n"); in test_unmerge_zero_pages()
231 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge_zero_pages()
238 ksft_test_result_fail("'ksm_zero_pages' updated after unmerging\n"); in test_unmerge_zero_pages()
248 ksft_test_result_fail("'ksm_zero_pages' updated after write fault\n"); in test_unmerge_zero_pages()
273 ksft_test_result_fail("MADV_DONTNEED failed\n"); in test_unmerge_discarded()
278 ksft_test_result_fail("MADV_UNMERGEABLE failed\n"); in test_unmerge_discarded()
318 ksft_test_result_fail("UFFDIO_API failed: %s\n", strerror(errno)); in test_unmerge_uffd_wp()
335 ksft_test_result_fail("__NR_userfaultfd failed\n"); in test_unmerge_uffd_wp()
[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 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.c137 ksft_test_result_fail("uffd-wp not %s for pte %lu!\n", in check_uffd_wp_state()
175 ksft_test_result_fail("alloc_one_folio() failed\n"); in test_one_folio()
184 ksft_test_result_fail("userfaultfd_open() failed\n"); in test_one_folio()
188 ksft_test_result_fail("uffd_register() failed\n"); in test_one_folio()
195 ksft_test_result_fail("ioctl(UFFDIO_WRITEPROTECT) failed\n"); in test_one_folio()
218 ksft_test_result_fail("mmap_aligned() failed\n"); in test_one_folio()
222 ksft_test_result_fail("mremap() failed\n"); in test_one_folio()
/linux/tools/testing/selftests/ipc/
H A Dmsgque.c42 ksft_test_result_fail("Failed to open /proc/sys/kernel/msg_next_id\n"); in restore_queue()
49 ksft_test_result_fail("Failed to write to /proc/sys/kernel/msg_next_id\n"); in restore_queue()
55 ksft_test_result_fail("Failed to create queue\n"); in restore_queue()
60 ksft_test_result_fail("Restored queue has wrong id (%d instead of %d)\n" in restore_queue()
69 ksft_test_result_fail("msgsnd failed (%m)\n"); in restore_queue()
93 ksft_test_result_fail("Failed to read IPC message: %m\n"); in check_and_destroy_queue()
98ksft_test_result_fail("Wrong message size: %d (expected %d)\n", ret, msgque->messages[cnt].msize); in check_and_destroy_queue()
103 ksft_test_result_fail("Wrong message type\n"); in check_and_destroy_queue()
108 ksft_test_result_fail("Wrong message content\n"); in check_and_destroy_queue()
116 ksft_test_result_fail("Wrong message number\n"); in check_and_destroy_queue()
[all …]
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c193 ksft_test_result_fail("making mount tree shared: %s\n", in setup_mount_tree()
201 ksft_test_result_fail("mounting submount %s: %s\n", in setup_mount_tree()
217 ksft_test_result_fail("listmount: %s\n", strerror(errno)); in test_listmount_empty_root()
221 ksft_test_result_fail("listmount result is %zi != 1\n", res); in test_listmount_empty_root()
226 ksft_test_result_fail("listmount ID doesn't match 0x%llx != 0x%llx\n", in test_listmount_empty_root()
242 ksft_test_result_fail("statmount zero mask: %s\n", in test_statmount_zero_mask()
247 ksft_test_result_fail("unexpected size: %u != %u\n", in test_statmount_zero_mask()
252 ksft_test_result_fail("unexpected mask: 0x%llx != 0x0\n", in test_statmount_zero_mask()
268 ksft_test_result_fail("statmount mnt basic: %s\n", in test_statmount_mnt_basic()
273 ksft_test_result_fail("unexpected size: %u != %u\n", in test_statmount_mnt_basic()
[all …]
/linux/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()
249 return ksft_test_result_fail("PMLEN=%d ABI disabled write\n", pmlen); in test_tagged_addr_abi_pmlen()
253 return ksft_test_result_fail("PMLEN=%d ABI disabled read\n", pmlen); in test_tagged_addr_abi_pmlen()
256 return ksft_test_result_fail("PMLEN=%d ABI disabled value\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()
[all …]
/linux/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()
331 ksft_test_result_fail("%s prctl() VL %d but RDVL is %d\n", in prctl_get()
343 ksft_test_result_fail("%s prctl set failed: %d (%s)\n", in prctl_set_same()
367 ksft_test_result_fail("%s prctl set failed for %d: %d (%s)\n", in prctl_set()
374 ksft_test_result_fail("%s prctl set %d but return value is %d\n", in prctl_set()
[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 …]
H A Dsve-ptrace.c224 ksft_test_result_fail("Failed to set %s SVE_PT_VL_INHERIT\n", in ptrace_set_get_inherit()
234 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
246 ksft_test_result_fail("Failed to clear %s SVE_PT_VL_INHERIT\n", in ptrace_set_get_inherit()
252 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
290 ksft_test_result_fail("Failed to set %s VL %u\n", in ptrace_set_get_vl()
300 ksft_test_result_fail("Failed to read %s VL %u\n", in ptrace_set_get_vl()
352 ksft_test_result_fail("Failed to allocate FPSIMD buffer\n"); in ptrace_sve_fpsimd()
382 ksft_test_result_fail("get_fpsimd(): %s\n", in ptrace_sve_fpsimd()
390 ksft_test_result_fail("%s get_fpsimd() gave different state\n", in ptrace_sve_fpsimd()
409 ksft_test_result_fail("Failed to allocate FPSIMD buffer\n"); in ptrace_sve_fpsimd_no_sve()
[all …]
/linux/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()
213 ksft_test_result_fail("vsyscall returned the wrong time (%ld %ld %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()
[all …]
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_waitv.c41 ksft_test_result_fail("futex_waitv returned: %d %s\n", in waiterfn()
44 ksft_test_result_fail("futex_waitv returned: %d, expecting %d\n", in waiterfn()
71 ksft_test_result_fail("futex_wake private returned: %d %s\n", in TEST()
111 ksft_test_result_fail("futex_wake shared returned: %d %s\n", in TEST()
137 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in TEST()
161 ksft_test_result_fail("futex_wake private returned: %d %s\n", in TEST()
184 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in TEST()
199 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in TEST()
220 ksft_test_result_fail("futex_waitv private returned: %d %s\n", in TEST()
H A Dfutex_requeue.c52 ksft_test_result_fail("futex_requeue simple returned: %d %s\n", in TEST()
59 ksft_test_result_fail("futex_requeue simple returned: %d %s\n", in TEST()
90 ksft_test_result_fail("futex_requeue many returned: %d %s\n", in TEST()
98 ksft_test_result_fail("futex_requeue many returned: %d %s\n", in TEST()
H A Drobust_list.c179 ksft_test_result_fail("set_robust_list error\n"); in child_fn_lock()
185 ksft_test_result_fail("mutex_lock error\n"); in child_fn_lock()
308 ksft_test_result_fail("set_robust_list error\n"); in child_list()
368 ksft_test_result_fail("set_robust_list error\n"); in child_fn_lock_with_error()
374 ksft_test_result_fail("mutex_lock error\n"); in child_fn_lock_with_error()
421 ksft_test_result_fail("%s\n", __func__); in TEST()
458 ksft_test_result_fail("mutex_lock error\n"); in child_wait_lock()
463 ksft_test_result_fail("futex not marked with FUTEX_OWNER_DIED\n"); in child_wait_lock()
518 ksft_test_result_fail("set_list error\n"); in child_circular_list()
H A Dfutex_wait.c58 ksft_test_result_fail("futex_wake private returned: %d %s\n", in TEST()
94 ksft_test_result_fail("futex_wake shared (page anon) returned: %d %s\n", in TEST()
135 ksft_test_result_fail("futex_wake shared (file backed) returned: %d %s\n", in TEST()
H A Dfutex_wait_uninitialized_heap.c77 ksft_test_result_fail("child blocked in kernel\n"); in TEST()
80 ksft_test_result_fail("child error\n"); in TEST()
/linux/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()
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_prctl.c51 ksft_test_result_fail("check_basic_read\n"); in check_basic_read()
83 ksft_test_result_fail("%s\n", name); in set_mode_test()
89 ksft_test_result_fail("%s\n", name); in set_mode_test()
98 ksft_test_result_fail("%s\n", name); in set_mode_test()
/linux/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()
265 ksft_test_result_fail("%s: [FAIL,test-7]\n", TEST_PREFIX); in main()
/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c313 ksft_test_result_fail("bad file descriptor ignored\n"); in main()
324 ksft_test_result_fail("cachestat fails with %s\n", dev_filename); in main()
333 ksft_test_result_fail("cachestat fails with normal file\n"); in main()
340 ksft_test_result_fail("cachestat fsync fails with normal file\n"); in main()
354 ksft_test_result_fail("cachestat fails with a shmem file\n"); in main()
361 ksft_test_result_fail("cachestat fails with a mmap file\n"); in main()
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_abi.c76 ksft_test_result_fail("%s\n", name[0]); in vdso_test_gettimeofday()
102 ksft_test_result_fail("%s %s\n", name[5], in vdso_test_clock_gettime64()
129 ksft_test_result_fail("%s %s\n", name[1], in vdso_test_clock_gettime()
153 ksft_test_result_fail("%s\n", name[2]); in vdso_test_time()
191 ksft_test_result_fail("%s %s\n", name[3], in vdso_test_clock_getres()
/linux/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/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/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/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