Searched refs:expected_err (Results 1 – 3 of 3) sorted by relevance
6 #define BPF_RETVAL_HOOK(name, section, ctx, expected_err) \ argument
459 int expected_err; member465 .expected_err = EXPECTED_ERR, \494 ASSERT_EQ(err, exposed_hooks[i].expected_err, "expected_err"); in test_exposed_hooks()
1513 const char *expected_err; in do_test_single() 1558 expected_err = unpriv && test->errstr_unpriv ? in do_test_single() 1635 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single() 1643 if (!expected_err || !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single() 1645 expected_err, bpf_vlog); in do_test_single() 1517 const char *expected_err; do_test_single() local