blib/lib/Test/UnixCmdWrap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
42 | 2 | 2 | if (exists $args->{'cmd'} and not ref $args->{'cmd'}) |
59 | 3 | 5 | exists $p{'args'} ? : |
63 | 4 | 20 | exists $p{$_} ? : |
73 | 1 | 7 | if $p{'munge_status'} |
79 | 1 | 7 | if (ref $p{'stdout'} eq 'ARRAY') { } |
83 | 1 | 6 | unless &ok(scalar $cmd->stdout =~ /$p{'stdout'}/u, "STDOUT " . $name) |
86 | 1 | 7 | unless &ok(scalar $cmd->stderr =~ /$p{'stderr'}/u, "STDERR " . $name) |