fix test other than freebsd.
This commit is contained in:
parent
eb5bfca902
commit
a54f700f00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue