Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
Don't test fork() when fork() not available
Browse files Browse the repository at this point in the history
  • Loading branch information
craigberry committed Aug 4, 2024
1 parent ffd8488 commit 0ced3fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions t/regression/291-async-subtest-done-testing.t
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
use Test2::V0;

BEGIN {
require Config;
skip_all('no fork')
unless ($Config::Config{d_fork} or $Config::Config{d_pseudofork});
}

use Test2::Tools::AsyncSubtest qw/fork_subtest/;

my $st = fork_subtest foo => sub {
Expand Down

0 comments on commit 0ced3fb

Please sign in to comment.