1Test2::Require::RealForUks(e3r)Contributed Perl DocumentTaetsito2n::Require::RealFork(3)
2
3
4

NAME

6       Test2::Require::RealFork - Skip a test file unless the system supports
7       true forking
8

DESCRIPTION

10       It is fairly common to write tests that need to fork. Not all systems
11       support forking. This library does the hard work of checking if forking
12       is supported on the current system. If forking is not supported then
13       this will skip all tests and exit true.
14

SYNOPSIS

16           use Test2::Require::RealFork;
17
18           ... Code that forks ...
19

SEE ALSO

21       Test2::Require::Canfork
22           Similar to this module, but will allow fork emulation.
23
24       Test2::Require::CanThread
25           Skip the test file if the system does not support threads.
26

SOURCE

28       The source code repository for Test2-Suite can be found at
29       https://github.com/Test-More/Test2-Suite/.
30

MAINTAINERS

32       Chad Granum <exodist@cpan.org>
33

AUTHORS

35       Chad Granum <exodist@cpan.org>
36
38       Copyright 2018 Chad Granum <exodist@cpan.org>.
39
40       This program is free software; you can redistribute it and/or modify it
41       under the same terms as Perl itself.
42
43       See http://dev.perl.org/licenses/
44
45
46
47perl v5.32.0                      2020-12-16       Test2::Require::RealFork(3)
Impressum