(t *testing.T)
| 234 | } |
| 235 | |
| 236 | func TestFileDescriptorsLen(t *testing.T) { |
| 237 | p1, err := getProcFixtures(t).Proc(26231) |
| 238 | if err != nil { |
| 239 | t.Fatal(err) |
| 240 | } |
| 241 | l, err := p1.FileDescriptorsLen() |
| 242 | if err != nil { |
| 243 | t.Fatal(err) |
| 244 | } |
| 245 | if want, have := 5, l; want != have { |
| 246 | t.Errorf("want fds %d, have %d", want, have) |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | func TestFileDescriptorsInfo(t *testing.T) { |
| 251 | p1, err := getProcFixtures(t).Proc(26231) |
nothing calls this directly
no test coverage detected
searching dependent graphs…