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

« back to all changes in this revision

Viewing changes to t/preconnection/note.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:
5
5
use Apache::TestUtil;
6
6
use Apache::TestRequest;
7
7
 
8
 
my $module = "TestPreConnection::note";
9
 
Apache::TestRequest::module($module);
 
8
my $module = 'TestPreConnection::note';
 
9
my $url    = Apache::TestRequest::module2url($module);
10
10
my $config = Apache::Test::config();
11
 
my $hostport = Apache::TestRequest::hostport($config);
12
 
my $location = "http://$hostport/" . Apache::TestRequest::module2path($module);
 
11
 
13
12
my $remote_addr = $config->{vars}->{remote_addr};
14
 
t_debug("connecting to $location");
 
13
t_debug("connecting to $url");
15
14
plan tests => 1;
16
15
 
17
16
ok t_cmp(
 
17
    GET_BODY_ASSERT($url),
18
18
    $remote_addr,
19
 
    GET_BODY_ASSERT($location),
20
19
    "connection notes");