Skip to content

Commit a91dae8

Browse files
committed
t: Skip if pgrep is not installed
Otherwise the test might fail, and sometimes we don't even see an error message with the reason, like observed in OBS or probably here on cpantesters: http://www.cpantesters.org/cpan/report/47446f5e-103b-11f0-98b0-b3c3213a625c http://www.cpantesters.org/cpan/report/57cba9ba-1017-11f0-98b0-b3c3213a625c
1 parent 73c1df6 commit a91dae8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

t/01_run.t

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ sub _number_of_process_in_group {
475475
}
476476

477477
subtest stop_whole_process_group_gracefully => sub {
478+
check_bin('/usr/bin/pgrep');
478479
my $test_script = check_bin("$FindBin::Bin/data/simple_fork.pl");
479480

480481
# run the "term_trap.pl" script and its sub processes within its own

0 commit comments

Comments
 (0)