Home
last modified time | relevance | path

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

1234

/linux/tools/testing/selftests/riscv/vector/
A Dvstate_prctl.c18 ksft_test_result_fail("fork failed %d", pid); in launch_test()
31 ksft_test_result_fail("child execve failed %d\n", rc); in launch_test()
38 ksft_test_result_fail("waitpid failed\n"); in launch_test()
44 ksft_test_result_fail("child exited abnormally\n"); in launch_test()
57 ksft_test_result_fail("prctl with provided arg %lx failed with code %d\n", in test_and_compare_child()
63 ksft_test_result_fail("Test failed, check %d != %ld\n", rc, in test_and_compare_child()
82 ksft_test_result_fail("hwprobe() failed with %ld\n", rc); in main()
87 ksft_test_result_fail("hwprobe cannot probe RISCV_HWPROBE_KEY_IMA_EXT_0\n"); in main()
111 ksft_test_result_fail("Enabling V for current should always success\n"); in main()
156 ksft_test_result_fail("Undefined control argument should return EINVAL\n"); in main()
[all …]
A Dv_initval_nolibc.c30 ksft_test_result_fail("fail to allocate memory for size = %d\n", MAX_VSIZE); in main()
52 ksft_test_result_fail("v-regesters are not properly initialized\n"); in main()
59 ksft_test_result_fail("detect stale values on v-regesters\n"); in main()
/linux/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test.c243 ksft_test_result_fail("statmount zero mask: %s\n", in test_statmount_zero_mask()
269 ksft_test_result_fail("statmount mnt basic: %s\n", in test_statmount_mnt_basic()
329 ksft_test_result_fail("statmount sb basic: %s\n", in test_statmount_sb_basic()
345 ksft_test_result_fail("stat root failed: %s\n", in test_statmount_sb_basic()
360 ksft_test_result_fail("statfs root failed: %s\n", in test_statmount_sb_basic()
436 ksft_test_result_fail("statmount fs type: %s\n", in test_statmount_fs_type()
462 ksft_test_result_fail("statmount mnt opts: %s\n", in test_statmount_mnt_opts()
519 ksft_test_result_fail( in test_statmount_mnt_opts()
543 ksft_test_result_fail("statmount %s: %s\n", name, in test_statmount_string()
561 ksft_test_result_fail("string out of bounds\n"); in test_statmount_string()
[all …]
/linux/tools/testing/selftests/mm/
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()
397 ksft_test_result_fail("UFFDIO_API failed\n"); in test_unmerge_uffd_wp()
501 ksft_test_result_fail("Merge in child failed\n"); in test_child_ksm_err()
527 ksft_test_result_fail("fork() failed\n"); in test_prctl_fork()
532 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork()
590 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork_exec()
[all …]
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 …]
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 …]
A Dgup_longterm.c99 ksft_test_result_fail("ftruncate() failed\n"); in do_test()
105 ksft_test_result_fail("fallocate() failed\n"); in do_test()
115 ksft_test_result_fail("mmap() failed\n"); in do_test()
133 ksft_test_result_fail("mprotect() failed\n"); in do_test()
174 ksft_test_result_fail("PIN_LONGTERM_TEST_START failed\n"); in do_test()
252 ksft_test_result_fail("memfd_create() failed\n"); in run_with_memfd()
269 ksft_test_result_fail("tmpfile() failed\n"); in run_with_tmpfile()
275 ksft_test_result_fail("fileno() failed\n"); in run_with_tmpfile()
293 ksft_test_result_fail("mkstemp() failed\n"); in run_with_local_tmpfile()
298 ksft_test_result_fail("unlink() failed\n"); in run_with_local_tmpfile()
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()
/linux/tools/testing/selftests/arm64/fp/
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 …]
A Dsve-ptrace.c184 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
202 ksft_test_result_fail("Failed to read %s SVE flags\n", in ptrace_set_get_inherit()
239 ksft_test_result_fail("Failed to set %s VL %u\n", in ptrace_set_get_vl()
249 ksft_test_result_fail("Failed to read %s VL %u\n", in ptrace_set_get_vl()
310 ksft_test_result_fail("get_fpsimd(): %s\n", in ptrace_sve_fpsimd()
370 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_sve_data()
465 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_fpsimd_data()
548 ksft_test_result_fail("Child VL != expected VL %d\n", in ptrace_set_fpsimd_get_sve_data()
558 ksft_test_result_fail("Read %d bytes, expected %d\n", in ptrace_set_fpsimd_get_sve_data()
660 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent()
[all …]
A Dza-ptrace.c130 ksft_test_result_fail("Failed to set VL %u\n", vl); in ptrace_set_get_vl()
139 ksft_test_result_fail("Failed to read VL %u\n", vl); in ptrace_set_get_vl()
164 ksft_test_result_fail("Failed to set VL %u no data\n", vl); in ptrace_set_no_data()
170 ksft_test_result_fail("Failed to read VL %u no data\n", vl); in ptrace_set_no_data()
177 ksft_test_result_fail("VL %u wrote %d bytes, only read %d\n", in ptrace_set_no_data()
204 ksft_test_result_fail("Error allocating %d byte buffer for VL %u\n", in ptrace_set_get_data()
219 ksft_test_result_fail("Failed to set VL %u data\n", vl); in ptrace_set_get_data()
225 ksft_test_result_fail("Failed to read VL %u data\n", vl); in ptrace_set_get_data()
232 ksft_test_result_fail("VL %u wrote %d bytes, only read %d\n", in ptrace_set_get_data()
291 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent()
[all …]
/linux/tools/testing/selftests/x86/
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()
346 ksft_test_result_fail("We have read access, but we shouldn't\n"); in test_vsys_r()
[all …]
/linux/tools/testing/selftests/futex/functional/
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()
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()
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/tools/testing/selftests/exec/
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()
A Dexecveat.c60 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
67 ksft_test_result_fail("%s\n", test_name); in _check_execveat_fail()
95 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
109 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
115 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
123 ksft_test_result_fail("%s\n", test_name); in check_execveat_invoked_rc()
/linux/tools/testing/selftests/arm64/mte/
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/tools/testing/selftests/drivers/dma-buf/
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/tools/testing/selftests/cachestat/
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/tools/testing/selftests/capabilities/
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/
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/vDSO/
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/tools/testing/selftests/dmabuf-heaps/
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/
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()

Completed in 46 milliseconds

1234