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 } 16