Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net: TestCloseError fails on Plan 9 #17569
Since CL 30614, TestCloseError is failing on Plan 9.
This error happens because the test in error_test.go:558 now returns the error:
While it used to return the error:
Because, there is now a f.fd == badFd check in File.Write before the write syscall, which returns the os.ErrClosed error.