blib/lib/Test/Mock/Cmd/TestUtils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
9 | 0 | 34 | if (not defined $pid) { } |
4 | 30 | elsif ($pid == 0) { } | |
23 | 0 | 24 | ref $expected eq 'Regexp' ? : |
36 | 0 | 42 | unless open OLDOUT, '>&STDOUT' |
39 | 0 | 42 | unless open STDOUT, '>', "tmp.$$.tmp" |
45 | 0 | 38 | unless open STDOUT, '>&OLDOUT' |
47 | 0 | 38 | unless open my $fh, '<', "tmp.$$.tmp" |