Searched refs:resultfn (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/openat2/ |
H A D | openat2_test.c | 97 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_struct() local 103 resultfn = ksft_test_result_skip; in test_openat2_struct() 132 resultfn = ksft_test_result_fail; in test_openat2_struct() 143 resultfn("openat2 with %s argument [misalign=%d] succeeds\n", in test_openat2_struct() 146 resultfn("openat2 with %s argument [misalign=%d] fails with %d (%s)\n", in test_openat2_struct() 251 void (*resultfn)(const char *msg, ...) = ksft_test_result_pass; in test_openat2_flags() local 255 resultfn = ksft_test_result_skip; in test_openat2_flags() 300 resultfn = ksft_test_result_fail; in test_openat2_flags() 313 resultfn("openat2 with %s succeeds\n", test->name); in test_openat2_flags() 315 resultfn("openat2 with %s fails with %d (%s)\n", in test_openat2_flags()
|
H A 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()
|
H A 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()
|