Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A 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()
A Dbind_perm.c11 void try_bind(int family, int port, int expected_errno) in try_bind() argument
34 ASSERT_EQ(errno, expected_errno, "bind"); in try_bind()
/linux/tools/testing/selftests/kvm/x86_64/
A 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()
/linux/tools/testing/selftests/exec/
A Dexecveat.c44 int expected_errno, const char *errno_str) in _check_execveat_fail() argument
57 if (errno != expected_errno) { in _check_execveat_fail()
59 expected_errno, strerror(expected_errno), in _check_execveat_fail()

Completed in 9 milliseconds