]> Cypherpunks repositories - gostls13.git/commit
cmd/go: test: clean up all temporary directories
authorMichael Fraenkel <michael.fraenkel@gmail.com>
Wed, 30 Apr 2014 17:03:38 +0000 (13:03 -0400)
committerIan Lance Taylor <iant@golang.org>
Wed, 30 Apr 2014 17:03:38 +0000 (13:03 -0400)
commit61fac6845a6c35253397c66bcc71a309f59d8c70
treeb2b10c9310bb40e79b888c79f8b654ff310390dc
parent8cc5a33fd95cbd63e663c040d67d008f5f58f37c
cmd/go: test: clean up all temporary directories

go test may call builder.init() multiple times which will create a new work directory.  The cleanup needs to hoist the current work directory.
Fixes #7904.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/95900044
src/cmd/go/build.go