]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix TestScript/test_main_twice
authorMichael Matloob <matloob@golang.org>
Tue, 7 Jan 2020 21:25:34 +0000 (16:25 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 7 Jan 2020 21:42:59 +0000 (21:42 +0000)
commitdaacf269802eaa856705063159b55b5e752e7058
treec219bc6a810596de6e6b30c752bba59f3bc12eda
parent7d98da8d3174b167b8408ef89836d6ec85ad3dc0
cmd/go: fix TestScript/test_main_twice

The TMPDIR environment variable isn't always available. Use $WORK/tmp
instead, to fix this test on Windows.

Change-Id: I521c470430c6eea4d1f2fc7db749d38178a03a13
Reviewed-on: https://go-review.googlesource.com/c/go/+/213680
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/testdata/script/test_main_twice.txt