From 0f05ed3b7821db1d73954aa9e7fd49e5a19ec12a Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Fri, 10 Dec 2021 21:17:12 -0500 Subject: [PATCH] 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 Reviewed-by: Ian Lance Taylor Run-TryBot: Austin Clements TryBot-Result: Gopher Robot --- src/os/pipe_test.go | 5 ----- 1 file changed, 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 -- 2.50.0