fix test other than freebsd.

pull/307/head
WAKAYAMA shirou 8 years ago
parent eb5bfca902
commit a54f700f00

@ -66,6 +66,10 @@ func TestCpuInfo(t *testing.T) {
} }
func TestParseDmesgBoot(t *testing.T) { func TestParseDmesgBoot(t *testing.T) {
if runtime.GOOS != "freebsd" {
t.SkipNow()
}
var cpuTests = []struct { var cpuTests = []struct {
file string file string
cpuNum int cpuNum int

Loading…
Cancel
Save