#!/usr/bin/perl -w
# Load testing for prefork.pm
use strict;
use lib ();
use UNIVERSAL 'isa';
use File::Spec::Functions ':ALL';
BEGIN {
$| = 1;
unless ( $ENV{HARNESS_ACTIVE} ) {
require FindBin;
chdir ($FindBin::Bin = $FindBin::Bin); # Avoid a warning
lib->import( catdir( updir(), updir(), 'modules') );
}
}
use Test::More tests => 2;
# Check their perl version
ok( $] >= 5.005, "Your perl is new enough" );
# Does the module load
use_ok('prefork');
exit(0);
syntax highlighted by Code2HTML, v. 0.9.1