Searched refs:expect_errno (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/mm/ |
D | hugetlb-soft-offline.c | 35 static int do_soft_offline(int fd, size_t len, int expect_errno) in do_soft_offline() argument 65 if (errno == expect_errno) in do_soft_offline() 69 expect_errno); in do_soft_offline() 158 int expect_errno = enable_soft_offline ? 0 : EOPNOTSUPP; in test_soft_offline_common() local 188 ret = do_soft_offline(fd, 2 * file_stat.f_bsize, expect_errno); in test_soft_offline_common()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 1157 int expect_errno; member 1205 if (CHECK(err && !t->expect_errno, "connect", in run_multi_prog_lookup() 1208 if (CHECK(err && t->expect_errno && errno != t->expect_errno, in run_multi_prog_lookup() 1248 .expect_errno = ECONNREFUSED, in test_multi_prog_lookup() 1255 .expect_errno = ECONNREFUSED, in test_multi_prog_lookup() 1262 .expect_errno = ECONNREFUSED, in test_multi_prog_lookup()
|