diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2012-08-07 13:19:49 +1000 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2012-08-07 13:19:49 +1000 |
commit | 2e0e7637c5f7bd54a74da5d92527471d7941c5e4 (patch) | |
tree | 96a403158fd9dfeb75173c35457c72c7f2097dbd | |
parent | 3f03b6f83ae3bf664401a628b67b3b7198ae990f (diff) | |
download | go-2e0e7637c5f7bd54a74da5d92527471d7941c5e4.tar.gz go-2e0e7637c5f7bd54a74da5d92527471d7941c5e4.zip |
net/http: disable TestServeFileFromCWD test on windows
This is an attempt to fix windows build. Will restore
once we know what the problem is.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6461046
-rw-r--r-- | src/pkg/net/http/fs_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/net/http/fs_test.go b/src/pkg/net/http/fs_test.go index 572bef5045..fe4844b7e3 100644 --- a/src/pkg/net/http/fs_test.go +++ b/src/pkg/net/http/fs_test.go @@ -335,6 +335,11 @@ func TestServeFileMimeType(t *testing.T) { } func TestServeFileFromCWD(t *testing.T) { + if runtime.GOOS == "windows" { + // TODO(brainman): find out why this test is broken + t.Logf("Temporarily skipping test on Windows; see http://golang.org/issue/3917") + return + } ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { ServeFile(w, r, "fs_test.go") })) |