fix test other than freebsd.

This commit is contained in:
WAKAYAMA shirou 2017-01-29 01:38:52 +09:00
parent eb5bfca902
commit a54f700f00
1 changed files with 4 additions and 0 deletions

View File

@ -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