Searched refs:resultfn (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/ |
D | openat2_test.c | 92 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_struct() local 98 resultfn = ksft_test_result_skip; in test_openat2_struct() 127 resultfn = ksft_test_result_fail; in test_openat2_struct() 138 resultfn("openat2 with %s argument [misalign=%d] succeeds\n", in test_openat2_struct() 141 resultfn("openat2 with %s argument [misalign=%d] fails with %d (%s)\n", in test_openat2_struct() 235 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_flags() local 239 resultfn = ksft_test_result_skip; in test_openat2_flags() 274 resultfn = ksft_test_result_fail; in test_openat2_flags() 287 resultfn("openat2 with %s succeeds\n", test->name); in test_openat2_flags() 289 resultfn("openat2 with %s fails with %d (%s)\n", in test_openat2_flags()
|
D | rename_attack_test.c | 88 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_rename_attack() local 136 resultfn = ksft_test_result_fail; in test_rename_attack() 139 resultfn("rename attack with %s (%d runs, got %d escapes)\n", in test_rename_attack()
|
D | resolve_test.c | 445 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_opath_tests() local 450 resultfn = ksft_test_result_skip; in test_openat2_opath_tests() 478 resultfn = ksft_test_result_fail; in test_openat2_opath_tests() 489 resultfn("%s gives path '%s'\n", test->name, in test_openat2_opath_tests() 492 resultfn("%s fails with %d (%s)\n", test->name, in test_openat2_opath_tests()
|