blob: 65ad1d1d8f0baa6f3277ddfbc3e3316ac2eaf307 [file] [log] [blame]
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package unix_test
import (
"testing"
"golang.org/x/sys/unix"
)
func TestSysctlUvmexp(t *testing.T) {
uvm, err := unix.SysctlUvmexp("vm.uvmexp")
if err != nil {
t.Fatal(err)
}
t.Logf("free = %v", uvm.Free)
}