1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:30:06 -07:00

os: enable TestClosedPipeRace* on FreeBSD

This test has worked since CL 165801 (committed March 12, 2019), so
stop skipping it. With this, we check that Close makes concurrent I/O
operations on pipes return Errclosed on all platforms.

Updates #19093.

Change-Id: Ic090c70996c115abf80d8f9b93ca2aeaf347c9d8
Reviewed-on: https://go-review.googlesource.com/c/go/+/371016
Trust: Austin Clements <austin@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Austin Clements 2021-12-10 21:17:12 -05:00
parent d407a8c3c4
commit 0f05ed3b78

View File

@ -150,11 +150,6 @@ func TestStdPipeHelper(t *testing.T) {
}
func testClosedPipeRace(t *testing.T, read bool) {
switch runtime.GOOS {
case "freebsd":
t.Skip("FreeBSD does not use the poller; issue 19093")
}
limit := 1
if !read {
// Get the amount we have to write to overload a pipe