Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/internal/testdir: remove temp files
Function stdlibImportcfgFile creates a temporary directory and a file in it, which are never deleted. The easiest to fix this (without creating the file unnecessarily, or creating it multiple times) is to add a global tmpDir and use it in stdlibImportcfgFile. Change-Id: Ia971b4478d9e0fa7c3a9b4c66e13fd5a4af9cbaa Reviewed-on: https://go-review.googlesource.com/c/go/+/610818 Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
- Loading branch information