Go version
devel
Output of go env in your module/workspace:
What did you do?
#70702 reports that su asks for a password on some FreeBSD systems, causing the runtime test TestSUID to fail and leaving the terminal in a broken state. Using the doas command with the -n option avoids this problem. doas is available as a separate package on FreeBSD and perhaps also NetBSD. Let's add it to the builders, and switch the test to use it. It's OK to run the test on systems where there is no doas command; the test will be skipped.
What did you see happen?
What did you expect to see?
A passing test.
CC @golang/release
Go version
devel
Output of
go envin your module/workspace:What did you do?
#70702 reports that su asks for a password on some FreeBSD systems, causing the runtime test
TestSUIDto fail and leaving the terminal in a broken state. Using thedoascommand with the-noption avoids this problem.doasis available as a separate package on FreeBSD and perhaps also NetBSD. Let's add it to the builders, and switch the test to use it. It's OK to run the test on systems where there is nodoascommand; the test will be skipped.What did you see happen?
What did you expect to see?
A passing test.
CC @golang/release