Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dobj_name.c9 int expected_errno; in test_obj_name() member
42 (!tests[i].success && errno != tests[i].expected_errno), in test_obj_name()
45 fd, tests[i].success, errno, tests[i].expected_errno); in test_obj_name()
63 (!tests[i].success && errno != tests[i].expected_errno), in test_obj_name()
66 fd, tests[i].success, errno, tests[i].expected_errno); in test_obj_name()
/tools/testing/selftests/kvm/x86_64/
Dvmx_set_nested_state_test.c37 int expected_errno) in test_nested_state_expect_errno() argument
42 TEST_ASSERT(rv == -1 && errno == expected_errno, in test_nested_state_expect_errno()
44 strerror(expected_errno), expected_errno, rv, strerror(errno), in test_nested_state_expect_errno()
/tools/testing/selftests/exec/
Dexecveat.c42 int expected_errno, const char *errno_str) in _check_execveat_fail() argument
55 if (errno != expected_errno) { in _check_execveat_fail()
57 expected_errno, strerror(expected_errno), in _check_execveat_fail()