diff options
author | Ian Lance Taylor <iant@golang.org> | 2016-11-14 21:34:58 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2016-11-15 15:13:48 +0000 |
commit | a145890059e9c7aae870e1b9e74b204b6c8bc8d5 (patch) | |
tree | 1547295a4c8da59ce960dcc84e3c0309edf9db02 /src/os/exec/exec_test.go | |
parent | 9be14c4058287f88dc927ea847e3d6d57ff4047b (diff) | |
download | go-a145890059e9c7aae870e1b9e74b204b6c8bc8d5.tar.gz go-a145890059e9c7aae870e1b9e74b204b6c8bc8d5.zip |
all: don't call t.Fatal from a goroutine
Fixes #17900.
Change-Id: I42cda6ac9cf48ed739d3a015a90b3cb15edf8ddf
Reviewed-on: https://go-review.googlesource.com/33243
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
-rw-r--r-- | src/os/exec/exec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/exec/exec_test.go b/src/os/exec/exec_test.go index b14343752a..67fe14faae 100644 --- a/src/os/exec/exec_test.go +++ b/src/os/exec/exec_test.go @@ -432,7 +432,7 @@ func TestExtraFilesFDShuffle(t *testing.T) { buf := make([]byte, 512) n, err := stderr.Read(buf) if err != nil { - t.Fatalf("Read: %s", err) + t.Errorf("Read: %s", err) ch <- err.Error() } else { ch <- string(buf[:n]) |