• Russ Cox's avatar
    cmd/go: clean up x.exe properly in TestImportMain · b614ed4c
    Russ Cox authored
    More generally I'm concerned about these tests using
    $GOROOT/src/cmd/go as scratch space, especially
    combined wtih tg.parallel() - it's easy to believe some other
    test might inadvertently also try to write x.exe about the
    same time. This CL only solves the "didn't clean up x.exe"
    problem and leaves for another day the "probably shouldn't
    write to cmd/go at all" problem.
    
    Fixes #22266.
    
    Change-Id: I651534d70e2d360138e0373fb4a316081872550b
    Reviewed-on: https://go-review.googlesource.com/71410
    Run-TryBot: Russ Cox <rsc@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    b614ed4c
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...