mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-29 13:49:21 +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) {
|
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…
x
Reference in New Issue
Block a user