]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/work: clean up after TestRespectGroupSticky
authorMostyn Bramley-Moore <mostyn@antipode.se>
Mon, 17 Apr 2017 02:16:55 +0000 (04:16 +0200)
committerIan Lance Taylor <iant@golang.org>
Mon, 17 Apr 2017 18:05:22 +0000 (18:05 +0000)
commit273f4497833add6bec4a0b550caf23c0b3d9b0ec
tree4b6c4de4001e2d90883eb8a9d30ca83e3cd04dd4
parenteed6938cbbac17169ad15f6d4fe6bb9c1c0175fe
cmd/go/internal/work: clean up after TestRespectGroupSticky

Use our own tempdir, to avoid having to Init (and somehow teardown)
Builder.  This way we don't leave behind any temp files.

Also, don't create a hardcoded path inside a testcase.

Followup to golang/go#18878.
Fixes golang/go#19449.

Change-Id: Ieb1ebeab24ae8a74a6fa058d9c23f72b3fc1c444
Reviewed-on: https://go-review.googlesource.com/40912
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/build_test.go