From: ian Date: Wed, 8 Dec 2010 00:14:10 +0000 (+0000) Subject: Fix test by copying from master. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=633ff12e85133a03336ca7764a1d9fea3b686657;p=thirdparty%2Fgcc.git Fix test by copying from master. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167575 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libgo/go/net/dialgoogle_test.go b/libgo/go/net/dialgoogle_test.go index 03641817d04f..47a478a8fa0b 100644 --- a/libgo/go/net/dialgoogle_test.go +++ b/libgo/go/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)