From 92bfd850e0b1d7740042d4983ea787592877082d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 6 Dec 2010 14:07:36 -0800 Subject: [PATCH] net: fix TestDialGoogle TBR=r CC=golang-dev https://golang.org/cl/3417042 --- src/pkg/net/dialgoogle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/dialgoogle_test.go b/src/pkg/net/dialgoogle_test.go index 03641817d04..47a478a8fa0 100644 --- a/src/pkg/net/dialgoogle_test.go +++ b/src/pkg/net/dialgoogle_test.go @@ -17,7 +17,7 @@ var ipv6 = flag.Bool("ipv6", false, "assume ipv6 tunnel is present") // fd is already connected to the destination, port 80. // Run an HTTP request to fetch the appropriate page. func fetchGoogle(t *testing.T, fd Conn, network, addr string) { - req := []byte("GET /intl/en/privacy.html HTTP/1.0\r\nHost: www.google.com\r\n\r\n") + req := []byte("GET /intl/en/privacy/ HTTP/1.0\r\nHost: www.google.com\r\n\r\n") n, err := fd.Write(req) buf := make([]byte, 1000)