(t *testing.T)
| 59 | } |
| 60 | |
| 61 | func TestChildReady(t *testing.T) { |
| 62 | env, procs := testEnv() |
| 63 | |
| 64 | child, err := startChild(env, nil) |
| 65 | if err != nil { |
| 66 | t.Fatal(err) |
| 67 | } |
| 68 | |
| 69 | proc := <-procs |
| 70 | if _, _, err := proc.notify(); err != nil { |
| 71 | t.Fatal("Can't notify:", err) |
| 72 | } |
| 73 | <-child.ready |
| 74 | proc.exit(nil) |
| 75 | } |
| 76 | |
| 77 | func TestChildPassedFds(t *testing.T) { |
| 78 | env, procs := testEnv() |
nothing calls this directly
no test coverage detected
searching dependent graphs…