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

« back to all changes in this revision

Viewing changes to t/hooks/TestHooks/startup.pm

  • 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:
11
11
use Apache::TestTrace;
12
12
 
13
13
use APR::Table;
14
 
use Apache::Server ();
15
 
use Apache::ServerUtil ();
16
 
use Apache::RequestRec ();
17
 
use Apache::RequestIO ();
 
14
use Apache2::ServerRec ();
 
15
use Apache2::ServerUtil ();
 
16
use Apache2::RequestRec ();
 
17
use Apache2::RequestIO ();
18
18
 
19
19
use File::Spec::Functions qw(catfile catdir);
20
20
use File::Path qw(mkpath);
21
21
 
22
 
use Apache::Const -compile => 'OK';
 
22
use Apache2::Const -compile => 'OK';
23
23
 
24
24
my $dir = catdir Apache::Test::vars("documentroot"), 'hooks', 'startup';
25
25
 
37
37
        run("open_logs", $vhost_s);
38
38
    }
39
39
 
40
 
    Apache::OK;
 
40
    Apache2::Const::OK;
41
41
}
42
42
 
43
43
sub post_config {
54
54
        run("post_config", $vhost_s);
55
55
    }
56
56
 
57
 
    Apache::OK;
 
57
    Apache2::Const::OK;
58
58
}
59
59
 
60
60
sub run {
102
102
            warn "received: $received\n";
103
103
        }
104
104
    }
105
 
    Apache::OK;
 
105
    Apache2::Const::OK;
106
106
}
107
107
 
108
108
1;