From: Alex Brainman Date: Wed, 13 Feb 2013 02:19:06 +0000 (+1100) Subject: os: do not use hosts file for windows tests X-Git-Tag: go1.1rc2~1061 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=17377ab6510837db1a1df6d8547cb9c921f300f2;p=gostls13.git os: do not use hosts file for windows tests Not everyone has the file (http://golang.org/issue/4723#c4). Update #4723. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7311091 --- diff --git a/src/pkg/os/os_test.go b/src/pkg/os/os_test.go index ba914a2c48..29706015d1 100644 --- a/src/pkg/os/os_test.go +++ b/src/pkg/os/os_test.go @@ -41,7 +41,6 @@ var sysdir = func() (sd *sysDir) { sd = &sysDir{ Getenv("SystemRoot") + "\\system32\\drivers\\etc", []string{ - "hosts", "networks", "protocol", "services",