blob: e1b3b6f076b4ad1fca3e24e95fb9497ca4bab788 [file] [log] [blame]
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*-
# this test tests PerlRequire configuration directive
########################################################################
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestUtil;
use Apache::TestRequest;
my $module = 'TestDirective::perlmodule';
plan tests => 1;
Apache::TestRequest::module($module);
my $config = Apache::Test::config();
my $hostport = Apache::TestRequest::hostport($config);
my $path = Apache::TestRequest::module2path($module);
t_debug("connecting to $hostport");
ok t_cmp(GET_BODY("/$path"),
$module,
"testing PerlModule in $module");