Home
last modified time | relevance | path

Searched refs:resultfn (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/openat2/
Dopenat2_test.c96 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_struct() local
102 resultfn = ksft_test_result_skip; in test_openat2_struct()
131 resultfn = ksft_test_result_fail; in test_openat2_struct()
142 resultfn("openat2 with %s argument [misalign=%d] succeeds\n", in test_openat2_struct()
145 resultfn("openat2 with %s argument [misalign=%d] fails with %d (%s)\n", in test_openat2_struct()
250 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_flags() local
254 resultfn = ksft_test_result_skip; in test_openat2_flags()
299 resultfn = ksft_test_result_fail; in test_openat2_flags()
312 resultfn("openat2 with %s succeeds\n", test->name); in test_openat2_flags()
314 resultfn("openat2 with %s fails with %d (%s)\n", in test_openat2_flags()
Drename_attack_test.c88 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()
Dresolve_test.c445 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()