diff --git a/src/net/dnsclient_unix_test.go b/src/net/dnsclient_unix_test.go index 73d8f39776..093c6b483f 100644 --- a/src/net/dnsclient_unix_test.go +++ b/src/net/dnsclient_unix_test.go @@ -2551,6 +2551,7 @@ func TestLookupOrderFilesNoSuchHost(t *testing.T) { order, _ := systemConf().hostLookupOrder(DefaultResolver, testName) if order != hostLookupFiles { + // skip test for systems which do not return hostLookupFiles t.Skipf("hostLookupOrder did not return hostLookupFiles") }