Rechercher une page de manuel
Test::SharedFork.3pm
Langue: en
Version: 2009-12-16 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Test::SharedFork - fork testSYNOPSIS
use Test::More tests => 200; use Test::SharedFork; my $pid = fork(); if ($pid == 0) { # child ok 1, "child $_" for 1..100; } elsif ($pid) { # parent ok 1, "parent $_" for 1..100; waitpid($pid, 0); } else { die $!; }
DESCRIPTION
Test::SharedFork is utility module for Test::Builder. This module makes forking test!This module merges test count with parent process & child process.
AUTHOR
Tokuhiro Matsuno <tokuhirom slkjfd gmail.com>yappo
THANKS TO
kazuhookukonbuizm
SEE ALSO
Test::TCP, Test::Fork, Test::MultipleForkLICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre