mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
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…
x
Reference in New Issue
Block a user