This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Wed Mar 25 02:30:18 -0700 2009 | |
| |
.shipit | Thu Oct 15 21:09:33 -0700 2009 | |
| |
Changes | Mon Dec 14 18:15:02 -0800 2009 | |
| |
MANIFEST.SKIP | Wed Mar 25 02:30:18 -0700 2009 | |
| |
Makefile.PL | Sat Dec 12 21:46:14 -0800 2009 | |
| |
README | Wed Mar 25 02:50:32 -0700 2009 | |
| |
README.mkdn | Sat Oct 17 10:02:18 -0700 2009 | |
| |
lib/ | Wed Dec 16 04:59:26 -0800 2009 | |
| |
t/ | Sat Dec 12 22:15:44 -0800 2009 | |
| |
xt/ | Sun Oct 18 07:51:11 -0700 2009 |
README.mkdn
NAME
Test::SharedFork - fork test
SYNOPSIS
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
yappo
THANKS TO
kazuhooku
SEE ALSO
Test::TCP, Test::Fork, Test::MultipleFork
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.







