go/src/os/pipe_test.go

func TestEPIPE(t *testing.T) {}

func TestStdPipe(t *testing.T) {}

func testClosedPipeRace(t *testing.T, read bool) {}

func TestClosedPipeRaceRead(t *testing.T) {}

func TestClosedPipeRaceWrite(t *testing.T) {}

// Issue 20915: Reading on nonblocking fd should not return "waiting
// for unsupported file type." Currently it returns EAGAIN; it is
// possible that in the future it will simply wait for data.
func TestReadNonblockingFd(t *testing.T) {}

func TestCloseWithBlockingReadByNewFile(t *testing.T) {}

func TestCloseWithBlockingReadByFd(t *testing.T) {}

// Test that we don't let a blocking read prevent a close.
func testCloseWithBlockingRead(t *testing.T, r, w *os.File) {}

func TestPipeEOF(t *testing.T) {}

// testPipeEOF tests that when the write side of a pipe or FIFO is closed,
// a blocked Read call on the reader side returns io.EOF.
//
// This scenario previously failed to unblock the Read call on darwin.
// (See https://go.dev/issue/24164.)
func testPipeEOF(t *testing.T, r io.ReadCloser, w io.WriteCloser) {}

// Issue 24481.
func TestFdRace(t *testing.T) {}

func TestFdReadRace(t *testing.T) {}