Skip to content

x/sys/unix: TestSysctlUint64 fails on freebsd/arm #21375

@bradfitz

Description

@bradfitz

TestSysctlUint64 fails on freebsd/arm:

https://build.golang.org/log/d2619c8b0011d695de308cf3e1fbe159d858d69c

--- FAIL: TestSysctlUint64 (0.00s)
	syscall_freebsd_test.go:26: no such file or directory
FAIL
FAIL	golang.org/x/sys/unix	0.075s

Test is just:

func TestSysctlUint64(t *testing.T) {
        _, err := unix.SysctlUint64("security.mac.labeled")
        if err != nil {
                t.Fatal(err)
        }
}               

It was changed to security.mac.labeled in golang/sys@7a6e564 by @stevenh.

Maybe we need a different one for arm? Or does that FreeBSD kernel not have some kernel options compiled in?

/cc @paulzhol

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions