From 1296661793e0d737162e359f572787026f3c0e18 Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Mar 14 2022 23:44:17 +0000 Subject: Test just DNS resolution, not connectivity Closes #74 --- diff --git a/tests/0_common/30_dns_works.sh b/tests/0_common/30_dns_works.sh index 3d5f8e8..9c161c6 100755 --- a/tests/0_common/30_dns_works.sh +++ b/tests/0_common/30_dns_works.sh @@ -8,7 +8,7 @@ else fi # its important we dont hit a dns record with a wildcard like centos.org -/bin/ping -c 1 $HOST &>/dev/null +getent hosts $HOST >/dev/null t_CheckExitStatus $?