]> Cypherpunks repositories - gostls13.git/commit
cmd/go: support background processes in TestScript
authorBryan C. Mills <bcmills@google.com>
Wed, 10 Oct 2018 20:37:00 +0000 (16:37 -0400)
committerBryan C. Mills <bcmills@google.com>
Mon, 29 Oct 2018 17:20:06 +0000 (17:20 +0000)
commitd76b1cdf286551a81fd4c1012cbf8686d344cc32
tree03c5e32e019c387b6e754c5ce898d2663957f0bd
parent4c8b09e9183390d6ab80d3f53a9fe5f6ace92f06
cmd/go: support background processes in TestScript

This will be used to test fixes for bugs in concurrent 'go' command
invocations, such as #26794.

See the README changes for a description of the semantics.

Updates #26794

Change-Id: I897e7b2d11ff4549a4711002eadd6a54f033ce0b
Reviewed-on: https://go-review.googlesource.com/c/141218
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/go_test.go
src/cmd/go/script_test.go
src/cmd/go/testdata/script/README
src/cmd/go/testdata/script/script_wait.txt [new file with mode: 0644]