Skip to content

x/build: add doas package on NetBSD systems #70708

Open
@ianlancetaylor

Description

@ianlancetaylor

Go version

devel

Output of go env in your module/workspace:

N/A

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?

/bin/sh: doas: not found

What did you expect to see?

A passing test.

CC @golang/release

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buildersx/build issues (builders, bots, dashboards)NeedsFixThe path to resolution is known, but the work has not been done.OS-NetBSD

    Type

    No type

    Projects

    Status

    Planned

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions