(t *testing.T)
| 35 | } |
| 36 | |
| 37 | func TestExitStatus(t *testing.T) { |
| 38 | status := unix.WaitStatus(0) |
| 39 | ex := ExitStatus(status) |
| 40 | if ex != 0 { |
| 41 | t.Errorf("expected exit status to equal 0 and received %d", ex) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func TestExitStatusSignaled(t *testing.T) { |
| 46 | status := unix.WaitStatus(2) |
nothing calls this directly
no test coverage detected
searching dependent graphs…