File: fork.t

package info (click to toggle)
libtest-nowarnings-perl 0.084-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 112 kB
  • ctags: 21
  • sloc: perl: 169; makefile: 16
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
use strict;

use Test::More tests => 2;

use Test::NoWarnings;

pass("just testing");

# if it's working properly, only the parent will conduct a warnings test
my $pid = fork;
die "Forked failed, $!" unless defined $pid;