From ae635d4b5b837ec8c74fe2e604ef133179250d64 Mon Sep 17 00:00:00 2001 From: Kirill Rodriguez Date: Sun, 20 Oct 2024 21:47:17 +0100 Subject: [PATCH] add explicit check for linux --- test/regress_dns.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/regress_dns.c b/test/regress_dns.c index 251a3dd0..31e945f2 100644 --- a/test/regress_dns.c +++ b/test/regress_dns.c @@ -1685,8 +1685,10 @@ test_bufferevent_connect_hostname(void *arg) */ if (!emfile) { tt_int_op(be_outcome[3].dnserr, ==, 0); +#if defined(__linux__) } else { tt_int_op(be_outcome[3].dnserr, !=, 0); +#endif } if (expect_err) { tt_int_op(be_outcome[4].what, ==, BEV_EVENT_ERROR);