mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 03:14:08 +08:00
Fix test by copying from master.
From-SVN: r167575
This commit is contained in:
parent
6997f6964e
commit
73d520afa5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user