blib/lib/Test/NoTty.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 22 | 40.9 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 6 | unless pipe my $reader, my $writer |
38 | 0 | 6 | unless defined $pid |
41 | 0 | 6 | unless ($pid) |
49 | 0 | 0 | unless setsid() |
61 | 0 | 0 | unless print $writer $@ |
63 | 0 | 0 | unless close $writer |
80 | 0 | 0 | unless kill $sig, $pid |
87 | 0 | 6 | unless waitpid $pid, 0 |
91 | 2 | 4 | if length $error |
95 | 3 | 1 | if WIFEXITED(${^CHILD_ERROR_NATIVE}) |
98 | 1 | 0 | if WTERMSIG(${^CHILD_ERROR_NATIVE}) |