]> Cypherpunks repositories - gostls13.git/commit
os/exec: fix race in TestStdinCloseRace
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Dec 2016 00:53:12 +0000 (16:53 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Dec 2016 01:56:36 +0000 (01:56 +0000)
commitc06b10ae9df81ea3ffdfe118a92410da4e153fea
tree0f79d0c5d2f413f6e2d3c9580ead3126600d008c
parentd986daec1375527ef78cd59d81d42be7406a9803
os/exec: fix race in TestStdinCloseRace

The test for the race detector itself had a race of a sort not
detected by the race detector.

Fixes #18286.

Change-Id: I3265eae275aaa2869a6b6d3e8675b0d88b25831b
Reviewed-on: https://go-review.googlesource.com/34287
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/exec/exec_test.go