~ubuntu-branches/ubuntu/edgy/libapache2-mod-perl2/edgy

« back to all changes in this revision

Viewing changes to t/hooks/init.t

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2005-08-12 01:40:38 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050812014038-gjigefs55pqx4qc8
Tags: 2.0.1-3
Grr.  Really include perl.conf file; it got lost due to diff not
wanting to add an empty file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings FATAL => 'all';
 
3
 
 
4
use Apache::TestRequest qw(GET_BODY_ASSERT);
 
5
use Apache::Test;
 
6
use Apache::TestUtil;
 
7
 
 
8
my $module = 'TestHooks::init';
 
9
 
 
10
Apache::TestRequest::module($module);
 
11
my $path     = Apache::TestRequest::module2path($module);
 
12
my $config   = Apache::Test::config();
 
13
my $hostport = Apache::TestRequest::hostport($config);
 
14
t_debug("connecting to $hostport");
 
15
 
 
16
print GET_BODY_ASSERT "http://$hostport/$path";