mirror of https://github.com/golang/go.git
fix compile err
This commit is contained in:
parent
62f2eec61f
commit
eb872127d6
|
|
@ -2518,7 +2518,7 @@ func TestLookupOrderFilesNoSuchHost(t *testing.T) {
|
|||
defer func(orig string) { testHookHostsPath = orig }(testHookHostsPath)
|
||||
if runtime.GOOS != "openbsd" {
|
||||
defer setSystemNSS(getSystemNSS(), 0)
|
||||
setSystemNSS(nssStr("hosts: files"), time.Hour)
|
||||
setSystemNSS(nssStr(t, "hosts: files"), time.Hour)
|
||||
}
|
||||
|
||||
conf, err := newResolvConfTest()
|
||||
|
|
|
|||
Loading…
Reference in New Issue