golang.org/x/sys@v0.20.1-0.20240517151509-673e0f94c16d/unix/sysctl_netbsd_test.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package unix 6 7 import "testing" 8 9 func TestSysctlUvmexp(t *testing.T) { 10 uvm, err := SysctlUvmexp("vm.uvmexp2") 11 if err != nil { 12 t.Fatal(err) 13 } 14 t.Logf("%#v", uvm) 15 }