/linux/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 35 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file() 38 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() 97 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns() 102 ksft_exit_fail_msg("capng_get_caps_process failed\n"); in create_and_enter_ns() 108 ksft_exit_fail_msg( in create_and_enter_ns() [all …]
|
/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 26 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() 80 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2 with nofollow\n", in test_regfile() 95 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_symlink() [all …]
|
/linux/tools/testing/selftests/alsa/ |
H A D | conf.c | 115 ksft_exit_fail_msg("stdout attach\n"); in dump_config_tree() 117 ksft_exit_fail_msg("config save\n"); in dump_config_tree() 129 ksft_exit_fail_msg("Unable to parse filename %s\n", filename); in conf_load_from_file() 132 ksft_exit_fail_msg("Out of memory\n"); in conf_load_from_file() 136 ksft_exit_fail_msg("Unable to parse filename %s\n", filename); 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() 204 ksft_exit_fail_msg("Missing path field in the sysfs block\n"); in sysfs_match() [all …]
|
H A D | pcm-test.c | 64 ksft_exit_fail_msg("clock_get_time\n"); in timestamp_now() 88 ksft_exit_fail_msg("snd_config_get_id\n"); in device_from_id() 113 ksft_exit_fail_msg("Out of memory\n"); in missing_device() 175 ksft_exit_fail_msg("Out of memory\n"); in find_pcms() 195 ksft_exit_fail_msg("Failed to allocate card info: %d\n", in find_pcms() 222 ksft_exit_fail_msg("snd_ctl_pcm_next_device\n"); in find_pcms() 241 ksft_exit_fail_msg("snd_ctl_pcm_info: %d:%d:%d\n", in find_pcms() 257 ksft_exit_fail_msg("Out of memory\n"); in find_pcms() 318 ksft_exit_fail_msg("Unknown test class %d\n", class); in test_pcm_time() 337 ksft_exit_fail_msg("Wrong format '%s'\n", cs); in test_pcm_time() [all …]
|
/linux/tools/testing/selftests/membarrier/ |
H A D | membarrier_test_impl.h | 29 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/mm/ |
H A D | pagemap_ioctl.c | 124 ksft_exit_fail_msg("ioctl(UFFDIO_REGISTER) %d %s\n", errno, strerror(errno)); in wp_init() 127 ksft_exit_fail_msg("ioctl set is incorrect\n"); in wp_init() 134 ksft_exit_fail_msg("ioctl(UFFDIO_WRITEPROTECT)\n"); in wp_init() 147 ksft_exit_fail_msg("ioctl unregister failure\n"); in wp_free() 156 ksft_exit_fail_msg("error %d %d %s\n", 1, errno, strerror(errno)); in wp_addr_range() 173 ksft_exit_fail_msg("Shared memory attach failure\n"); in gethugetlb_mem() 193 ksft_exit_fail_msg("error nomem\n"); in userfaultfd_tests() 216 ksft_exit_fail_msg("error %d %d %s\n", written, errno, strerror(errno)); in userfaultfd_tests() 251 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 255 ksft_exit_fail_msg("erro in sanity_tests_sd() [all...] |
H A D | split_huge_page_test.c | 63 ksft_exit_fail_msg("%s open failed: %s\n", path, strerror(errno)); in write_file() 68 ksft_exit_fail_msg("Write failed\n"); in write_file() 82 ksft_exit_fail_msg("%s: Debugfs input is too long\n", __func__); in write_debugfs() 112 ksft_exit_fail_msg("No THP is allocated\n"); in verify_rss_anon_split_huge_page_all_zeroes() 116 ksft_exit_fail_msg("No RssAnon is allocated before split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 124 ksft_exit_fail_msg("%ld byte corrupted\n", i); in verify_rss_anon_split_huge_page_all_zeroes() 127 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 131 ksft_exit_fail_msg("Incorrect RssAnon value. Before: %ld After: %ld\n", in verify_rss_anon_split_huge_page_all_zeroes() 155 ksft_exit_fail_msg("Fail to allocate memory: %s\n", strerror(errno)); in split_pmd_zero_pages() 163 ksft_exit_fail_msg("N in split_pmd_thp() [all...] |
H A D | mrelease_test.c | 30 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() 56 ksft_exit_fail_msg("process_mrelease with wrong flags: %s\n", strerror(errno)); in run_negative_tests() 63 ksft_exit_fail_msg("process_mrelease on a live process: %s\n", strerror(errno)); in run_negative_tests() 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() [all …]
|
H A D | map_fixed_noreplace.c | 33 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() 151 ksft_exit_fail_msg("Error:4: mmap() succeeded when it shouldn't have\n"); in main() 169 ksft_exit_fail_msg("Erro in main() [all...] |
H A D | mlock-random-test.c | 57 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() 73 ksft_exit_fail_msg("cannot parse VmLck in /proc/self/status: %s\n", strerror(errno)); 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() 208 ksft_exit_fail_msg("alloc_size[%d] >%u rlimit, violates test condition\n", in test_mlock_outof_limit() 225 ksft_exit_fail_msg("%s() succeeds? on %p(%d) mlock%p(%d)\n", in test_mlock_outof_limit() [all …]
|
H A D | hugepage-mremap.c | 71 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 …]
|
H A D | mlock2-tests.c | 184 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in unlock_lock_check() 188 ksft_exit_fail_msg("mlock2(0): %s\n", strerror(errno)); 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 unlock_onfault_check() 239 ksft_exit_fail_msg("mlock2(MLOCK_ONFAULT): %s\n", strerror(errno)); 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_mlock_onfault() 285 ksft_exit_fail_msg("mmap error: %s\n", strerror(errno)); in test_lock_onfault_of_present() 289 ksft_exit_fail_msg("mlockall(MCL_CURRENT): %s\n", strerror(errno)); 296 ksft_exit_fail_msg("munlockal in test_munlockall0() [all...] |
H A D | madv_populate.c | 38 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 …]
|
H A D | vm_util.c | 30 ksft_exit_fail_msg("reading pagemap failed\n"); in pagemap_get_entry() 62 ksft_exit_fail_msg("PAGEMAP_SCAN failed: %s\n", strerror(errno)); in pagemap_scan_get_categories() 80 ksft_exit_fail_msg("PAGEMAP_SCAN succeeded unexpectedly\n"); in pagemap_scan_supported() 98 ksft_exit_fail_msg( in page_entry_is() 139 ksft_exit_fail_msg("opening clear_refs failed\n"); in clear_softdirty() 143 ksft_exit_fail_msg("writing clear_refs failed\n"); in clear_softdirty() 184 ksft_exit_fail_msg("%s: Failed to open file %s\n", __func__, STATUS_FILE_PATH); in rss_anon() 190 ksft_exit_fail_msg("Reading status error\n"); in rss_anon() 207 ksft_exit_fail_msg("%s: Pattern is too long\n", __func__); in __check_huge() 211 ksft_exit_fail_msg(" in __check_huge() [all...] |
H A D | transhuge-stress.c | 49 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()
|
H A D | soft-dirty.c | 22 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()
|
H A D | thuge-gen.c | 123 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/pidfd/ |
H A D | pidfd_poll_test.c | 35 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 …]
|
H A D | pidfd_test.c | 71 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() 108 ksft_exit_fail_msg("%s test: Failed to create new process\n", in test_pidfd_send_signal_exited_fail() 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() 172 ksft_exit_fail_msg("%s test: Failed to unshare pid namespace\n", in test_pidfd_send_signal_recycled_pid_fail() 183 ksft_exit_fail_msg("%s test: Failed to unshare mount namespace\n", in test_pidfd_send_signal_recycled_pid_fail() 189 ksft_exit_fail_msg(" in test_pidfd_send_signal_recycled_pid_fail() [all...] |
/linux/tools/testing/selftests/ir/ |
H A D | ir_loopback.c | 82 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/ |
H A D | clone3_clear_sighand.c | 57 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/arm64/fp/ |
H A D | sve-probe-vls.c | 37 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/filesystems/statmount/ |
H A D | statmount_test.c | 74 ksft_exit_fail_msg("opening %s for write: %s\n", path, strerror(errno)); in write_file() 78 ksft_exit_fail_msg("writing to %s: %s\n", path, strerror(errno)); in write_file() 80 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() [all …]
|
H A D | statmount_test_ns.c | 31 ksft_exit_fail_msg("%s\n", testname); in handle_result() 141 ksft_exit_fail_msg("unsharing mountns and userns: %s\n", in setup_namespace() 214 ksft_exit_fail_msg("failed to fork: %s\n", strerror(errno)); in test_statmount_mnt_ns_id() 291 ksft_exit_fail_msg("failed to create the child pipe: %s\n", in test_listmount_ns() 294 ksft_exit_fail_msg("failed to create the parent pipe: %s\n", in test_listmount_ns() 299 ksft_exit_fail_msg("failed to fork: %s\n", strerror(errno)); in test_listmount_ns()
|
/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_chacha.c | 105 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()
|