| /tools/testing/selftests/ipc/ |
| A D | msgque.c | 55 ksft_test_result_fail("Failed to create queue\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() 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() 204 ksft_test_result_fail("Can't make key: %d\n", -errno); in main() 211 ksft_test_result_fail("Can't create queue: %d\n", err); in main() 217 ksft_test_result_fail("Failed to fill queue: %d\n", err); in main() 223 ksft_test_result_fail("Failed to dump queue: %d\n", err); in main() [all …]
|
| /tools/testing/selftests/filesystems/statmount/ |
| A D | statmount_test.c | 242 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 …]
|
| /tools/testing/selftests/mm/ |
| A D | ksm_functional_tests.c | 249 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() 418 ksft_test_result_fail("__NR_userfaultfd failed\n"); in test_unmerge_uffd_wp() 527 ksft_test_result_fail("Merge in child failed\n"); in test_child_ksm_err() 553 ksft_test_result_fail("fork() failed\n"); in test_prctl_fork() 558 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork() 616 ksft_test_result_fail("waitpid() failed\n"); in test_prctl_fork_exec() [all …]
|
| A D | mkdirty.c | 47 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 D | mlock2-tests.c | 268 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()
|
| A D | uffd-wp-mremap.c | 142 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()
|
| A D | hugetlb_madv_vs_map.c | 104 ksft_test_result_fail("Failed to allocate huge page\n"); in main() 117 ksft_test_result_fail("Unexpected huge page allocation\n"); in main()
|
| /tools/testing/selftests/riscv/abi/ |
| A D | pointer_masking.c | 110 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 …]
|
| /tools/testing/selftests/arm64/fp/ |
| A D | vec-syscfg.c | 184 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 D | za-ptrace.c | 132 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 …]
|
| A D | sve-ptrace.c | 186 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() 242 ksft_test_result_fail("Failed to set %s VL %u\n", in ptrace_set_get_vl() 252 ksft_test_result_fail("Failed to read %s VL %u\n", in ptrace_set_get_vl() 315 ksft_test_result_fail("get_fpsimd(): %s\n", in ptrace_sve_fpsimd() 375 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_sve_data() 382 ksft_test_result_fail("Failed to read %s VL %u data\n", in ptrace_set_sve_get_sve_data() 470 ksft_test_result_fail("Failed to set %s VL %u data\n", in ptrace_set_sve_get_fpsimd_data() 546 ksft_test_result_fail("Failed to read %s VL %u data\n", in ptrace_set_fpsimd_get_sve_data() 665 ksft_test_result_fail("PTRACE_GETSIGINFO: %s\n", in do_parent() [all …]
|
| /tools/testing/selftests/futex/functional/ |
| A D | futex_waitv.c | 50 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 D | futex_requeue.c | 84 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 D | futex_wait.c | 89 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()
|
| A D | futex_wait_wouldblock.c | 78 ksft_test_result_fail("futex_wait returned: %d %s\n", in main() 101 ksft_test_result_fail("futex_waitv returned: %d %s\n", in main()
|
| /tools/testing/selftests/x86/ |
| A D | test_vsyscall.c | 160 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 …]
|
| /tools/testing/selftests/exec/ |
| A D | null-argv.c | 28 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()
|
| /tools/testing/selftests/arm64/mte/ |
| A D | check_prctl.c | 51 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()
|
| /tools/testing/selftests/timens/ |
| A D | futex.c | 38 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()
|
| /tools/testing/selftests/drivers/dma-buf/ |
| A D | udmabuf.c | 178 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()
|
| /tools/testing/selftests/cachestat/ |
| A D | test_cachestat.c | 313 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()
|
| /tools/testing/selftests/vDSO/ |
| A D | vdso_test_abi.c | 69 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()
|
| /tools/testing/selftests/capabilities/ |
| A D | test_execve.c | 281 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()
|
| /tools/testing/selftests/dmabuf-heaps/ |
| A D | dmabuf-heap.c | 157 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()
|
| /tools/testing/selftests/arm64/abi/ |
| A D | ptrace.c | 74 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()
|