init
This commit is contained in:
15
gops/gops_test.go
Normal file
15
gops/gops_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gops
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestProcInfo(t *testing.T) {
|
||||
p, err := NewProcess(6464)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
pi, err := p.ProcInfo()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(pi)
|
||||
}
|
||||
Reference in New Issue
Block a user