--- libgo/go/net/conf_test.go.orig 2020-03-04 19:30:03.000000000 +1100 +++ libgo/go/net/conf_test.go 2020-09-08 15:57:08.913649000 +1000 @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build darwin dragonfly freebsd linux netbsd openbsd solaris +// +build bsdsunix darwin dragonfly freebsd linux netbsd openbsd solaris package net @@ -84,6 +84,15 @@ }, }, { + name: "bsdsunixlinux_no_resolv_conf", + c: &conf{ + goos: "bsdsunix", + nss: nssStr("foo: bar"), + resolv: defaultResolvConf, + }, + hostTests: []nssHostTest{{"google.com", "myhostname", hostLookupFilesDNS}}, + }, + { name: "freebsdlinux_no_resolv_conf", c: &conf{ goos: "freebsd",