Searched refs:expected_errno (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/tools/testing/selftests/net/ |
D | bind_wildcard.c | 37 int expected_errno; in FIXTURE_VARIANT() local 44 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 51 .expected_errno = 0, in FIXTURE_VARIANT_ADD() 58 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 65 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 72 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 79 .expected_errno = 0, in FIXTURE_VARIANT_ADD() 86 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 93 .expected_errno = EADDRINUSE, in FIXTURE_VARIANT_ADD() 113 int expected_errno, in bind_sockets() argument [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | obj_name.c | 9 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()
|
D | bind_perm.c | 22 void try_bind(int family, int port, int expected_errno) in try_bind() argument 45 ASSERT_EQ(errno, expected_errno, "bind"); in try_bind()
|
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/ |
D | vmx_set_nested_state_test.c | 36 int expected_errno) in test_nested_state_expect_errno() argument 41 TEST_ASSERT(rv == -1 && errno == expected_errno, in test_nested_state_expect_errno() 43 strerror(expected_errno), expected_errno, rv, strerror(errno), in test_nested_state_expect_errno()
|
/Linux-v6.6/tools/testing/selftests/exec/ |
D | execveat.c | 44 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()
|
/Linux-v6.6/tools/testing/selftests/iommu/ |
D | iommufd_utils.h | 348 #define EXPECT_ERRNO(expected_errno, cmd) \ argument 351 EXPECT_EQ(expected_errno, errno); \
|