Descriptionos/exec: fix leaked http transport in TestExtraFiles
The http.Get call was leaking a file descriptor. This fd would normally be cleaned up by the finaliser on os.File, but occasionally this was not done in time.
I originally believed this would address issue 5593, but I think the comment, http://golang.org/src/pkg/os/file_unix.go#L82, explains why this test is unreliable on OS X 10.6
Patch Set 1 #Patch Set 2 : diff -r 8e10088eb699 https://code.google.com/p/go #Patch Set 3 : diff -r 8e10088eb699 https://code.google.com/p/go #Patch Set 4 : diff -r 8e10088eb699 https://code.google.com/p/go #Patch Set 5 : diff -r 56909cb770fe https://code.google.com/p/go #MessagesTotal messages: 4
|