aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/net/http
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-04-16 00:48:21 +0200
committerDavid du Colombier <0intro@gmail.com>2014-04-16 00:48:21 +0200
commitb9f5dce4fc05ab89fcf695f2236dfdbef697cde2 (patch)
tree6bcf1bd058aa617deede29b6a7d99ce7e41cc697 /src/pkg/net/http
parent0a96d64c9c20afb1d47cb464fdcd978e181d5a48 (diff)
downloadgo-b9f5dce4fc05ab89fcf695f2236dfdbef697cde2.tar.xz
net/http: skip TestTransportClosesBodyOnError on Plan 9
LGTM=rsc R=bradfitz, rsc CC=golang-codereviews https://golang.org/cl/87800044
Diffstat (limited to 'src/pkg/net/http')
-rw-r--r--src/pkg/net/http/transport_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/net/http/transport_test.go b/src/pkg/net/http/transport_test.go
index 3e6235a6c2..17c9aaef1e 100644
--- a/src/pkg/net/http/transport_test.go
+++ b/src/pkg/net/http/transport_test.go
@@ -2040,6 +2040,9 @@ func (f closerFunc) Close() error { return f() }
// Issue 6981
func TestTransportClosesBodyOnError(t *testing.T) {
+ if runtime.GOOS == "plan9" {
+ t.Skip("skipping test; see http://golang.org/issue/7782")
+ }
defer afterTest(t)
readBody := make(chan error, 1)
ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) {