diff options
author | Austin Clements <austin@google.com> | 2021-12-10 21:17:12 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2021-12-14 20:25:03 +0000 |
commit | 0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a (patch) | |
tree | 160be631bdb1b9b10d3baf0845a0a19e5d4272bf /src/os | |
parent | d407a8c3c49f11980f224d204147eff8fcb087f4 (diff) | |
download | go-0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a.tar.gz go-0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a.zip |
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>
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/pipe_test.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/os/pipe_test.go b/src/os/pipe_test.go index ab6d1ce2b6..20716bce1e 100644 --- a/src/os/pipe_test.go +++ b/src/os/pipe_test.go @@ -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 |