]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix test by copying from master.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Dec 2010 00:14:10 +0000 (00:14 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Dec 2010 00:14:10 +0000 (00:14 +0000)
From-SVN: r167575

libgo/go/net/dialgoogle_test.go

index 03641817d04f5cbf90fd8badf82221e14e275a56..47a478a8fa0b33ebe7f261fd95df08db8359f899 100644 (file)
@@ -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)