This patch to libgo brings over a patch I just committed to the master library. It deletes a temporary directory and file created during a test. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline.
Ian
diff -r 864416b061a9 libgo/go/net/http/filetransport_test.go --- a/libgo/go/net/http/filetransport_test.go Fri Dec 09 08:46:12 2011 -0800 +++ b/libgo/go/net/http/filetransport_test.go Mon Dec 12 10:42:24 2011 -0800 @@ -7,6 +7,7 @@ import ( "io/ioutil" "net/http" + "os" "path/filepath" "testing" ) @@ -28,6 +29,8 @@ fname := filepath.Join(dname, "foo.txt") err = ioutil.WriteFile(fname, []byte("Bar"), 0644) check("WriteFile", err) + defer os.Remove(dname) + defer os.Remove(fname) tr := &http.Transport{} tr.RegisterProtocol("file", http.NewFileTransport(http.Dir(dname)))