]> Cypherpunks repositories - gostls13.git/commitdiff
os: do not use hosts file for windows tests
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 13 Feb 2013 02:19:06 +0000 (13:19 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 13 Feb 2013 02:19:06 +0000 (13:19 +1100)
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

src/pkg/os/os_test.go

index ba914a2c48a063906a77da284fab09bc4b4d4d1f..29706015d1ff537e1c90b12dbcf6cd0594d30418 100644 (file)
@@ -41,7 +41,6 @@ var sysdir = func() (sd *sysDir) {
                sd = &sysDir{
                        Getenv("SystemRoot") + "\\system32\\drivers\\etc",
                        []string{
-                               "hosts",
                                "networks",
                                "protocol",
                                "services",