From patchwork Wed Sep 22 21:41:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [gccgo] Fix HTTP redirect test Date: Wed, 22 Sep 2010 11:41:49 -0000 From: Ian Taylor X-Patchwork-Id: 65459 Message-Id: To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com The HTTP redirect test in the Go library started failing, because of some change in the web site which it checks (codesearch.google.com). This patch, copied from the master Go library, changes the test so that it works again. Committed to gccgo branch. Ian diff -r d54ea9a3b14d libgo/go/http/request_test.go --- a/libgo/go/http/request_test.go Mon Sep 20 10:24:28 2010 -0700 +++ b/libgo/go/http/request_test.go Wed Sep 22 14:39:45 2010 -0700 @@ -139,8 +139,8 @@ func TestRedirect(t *testing.T) { const ( - start = "http://codesearch.google.com/" - end = "http://www.google.com/codesearch" + start = "http://google.com/" + end = "http://www.google.com/" ) r, url, err := Get(start) if err != nil {