Home
last modified time | relevance | path

Searched refs:ksft_test_result (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/tools/testing/selftests/vm/
Dmadv_populate.c71 ksft_test_result(!ret, "MADV_POPULATE_READ with PROT_READ\n"); in test_prot_read()
74 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read()
92 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write()
96 ksft_test_result(!ret, "MADV_POPULATE_WRITE with PROT_WRITE\n"); in test_prot_write()
118 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
121 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
126 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
129 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
134 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
137 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
[all …]
Dsoft-dirty.c45 ksft_test_result(i == TEST_ITERATIONS, "Test %s\n", __func__); in test_simple()
57 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 1, in test_vma_reuse()
69 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1, in test_vma_reuse()
115 ksft_test_result(i == TEST_ITERATIONS, "Test %s huge page dirty bit\n", __func__); in test_hugepage()
/linux-5.19.10/tools/testing/selftests/resctrl/
Dresctrl_tests.c88 ksft_test_result(!res, "MBM: bw change\n"); in run_mbm_test()
109 ksft_test_result(!res, "MBA: schemata change\n"); in run_mba_test()
126 ksft_test_result(!res, "CMT: test\n"); in run_cmt_test()
144 ksft_test_result(!res, "CAT: test\n"); in run_cat_test()
/linux-5.19.10/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c343 ksft_test_result(do_test(cfg, 0, default_sme_vl, 0), in test_one_syscall()
360 ksft_test_result(do_test(cfg, sve_vl, default_sme_vl, 0), in test_one_syscall()
377 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall()
381 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall()
385 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall()
/linux-5.19.10/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c179 ksft_test_result(new_sve->flags & SVE_PT_VL_INHERIT, in ptrace_set_get_inherit()
197 ksft_test_result(!(new_sve->flags & SVE_PT_VL_INHERIT), in ptrace_set_get_inherit()
244 ksft_test_result(new_sve->vl = prctl_vl, "Set %s VL %u\n", in ptrace_set_get_vl()
293 ksft_test_result(ret == 0, "%s FPSIMD set via SVE: %d\n", in ptrace_sve_fpsimd()
404 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data()
489 ksft_test_result(errors == 0, "Set and get FPSIMD data for %s VL %u\n", in ptrace_set_sve_get_fpsimd_data()
598 ksft_test_result(errors == 0, "Set FPSIMD, read via SVE for %s VL %u\n", in ptrace_set_fpsimd_get_sve_data()
Dza-ptrace.c133 ksft_test_result(new_za->vl = prctl_vl, "Set VL %u\n", vl); in ptrace_set_get_vl()
172 ksft_test_result(read_za->size == write_za.size, in ptrace_set_no_data()
227 ksft_test_result(memcmp(write_buf + ZA_PT_ZA_OFFSET, in ptrace_set_get_data()
Dvec-syscfg.c340 ksft_test_result(cur_vl == data->rdvl(), in prctl_set_same()
623 ksft_test_result(errors == 0, "%s prctl() set all VLs, %d errors\n", in prctl_set_all_vqs()
/linux-5.19.10/tools/testing/selftests/alsa/
Dmixer-test.c455 ksft_test_result(err >= 0, "get_value.%d.%d\n", in test_ctl_get_value()
493 ksft_test_result(name_ok, "name.%d.%d\n", in test_ctl_name()
700 ksft_test_result(err >= 0, "write_default.%d.%d\n", in test_ctl_write_default()
853 ksft_test_result(pass, "write_valid.%d.%d\n", in test_ctl_write_valid()
1071 ksft_test_result(pass, "write_invalid.%d.%d\n", in test_ctl_write_invalid()
1077 ksft_test_result(!ctl->event_missing, "event_missing.%d.%d\n", in test_ctl_event_missing()
1083 ksft_test_result(!ctl->event_spurious, "event_spurious.%d.%d\n", in test_ctl_event_spurious()
/linux-5.19.10/tools/testing/selftests/
Dkselftest.h180 #define ksft_test_result(condition, fmt, ...) do { \ macro
Dkselftest_harness.h1031 ksft_test_result(t->passed, "%s%s%s.%s\n", in __run_test()