(t *testing.T)
| 94 | } |
| 95 | |
| 96 | func TestProcStatusUIDs(t *testing.T) { |
| 97 | p, err := getProcFixtures(t).Proc(26231) |
| 98 | if err != nil { |
| 99 | t.Fatal(err) |
| 100 | } |
| 101 | |
| 102 | s, err := p.NewStatus() |
| 103 | if err != nil { |
| 104 | t.Fatal(err) |
| 105 | } |
| 106 | |
| 107 | if want, have := [4]uint64{1000, 1000, 1000, 0}, s.UIDs; want != have { |
| 108 | t.Errorf("want uids %v, have %v", want, have) |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | func TestProcStatusGIDs(t *testing.T) { |
| 113 | p, err := getProcFixtures(t).Proc(26231) |
nothing calls this directly
no test coverage detected
searching dependent graphs…