From a54f700f00a808104e6dd1ead17512f57ec7c15e Mon Sep 17 00:00:00 2001 From: WAKAYAMA shirou Date: Sun, 29 Jan 2017 01:38:52 +0900 Subject: [PATCH] fix test other than freebsd. --- cpu/cpu_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/cpu_test.go b/cpu/cpu_test.go index 66c1935..3b9f471 100644 --- a/cpu/cpu_test.go +++ b/cpu/cpu_test.go @@ -66,6 +66,10 @@ func TestCpuInfo(t *testing.T) { } func TestParseDmesgBoot(t *testing.T) { + if runtime.GOOS != "freebsd" { + t.SkipNow() + } + var cpuTests = []struct { file string cpuNum int