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

« back to all changes in this revision

Viewing changes to Apache-Test/t/TEST

  • 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
 
#!/usr/bin/perl
2
 
# WARNING: this file is generated, do not edit
3
 
# 01: Apache-Test/lib/Apache/TestConfig.pm:813
4
 
# 02: Apache-Test/lib/Apache/TestConfig.pm:898
5
 
# 03: Apache-Test/lib/Apache/TestMM.pm:108
6
 
# 04: ./Makefile.PL:26
7
 
# 05: /usr/share/perl/5.8/ExtUtils/MakeMaker.pm:181
8
 
# 06: /usr/share/perl/5.8/ExtUtils/MakeMaker.pm:170
9
 
# 07: /usr/share/perl/5.8/ExtUtils/MakeMaker.pm:589
10
 
# 08: /usr/share/perl/5.8/ExtUtils/MakeMaker.pm:53
11
 
# 09: lib/ModPerl/BuildMM.pm:107
12
 
# 10: Makefile.PL:81
13
 
 
14
 
BEGIN { eval { require blib; } }
15
 
use strict;
16
 
 
17
 
use lib qw(lib ../lib);
18
 
 
19
 
use warnings FATAL => 'all';
20
 
 
21
 
use Apache::TestRun ();
22
 
 
23
 
package MyTest;
24
 
 
25
 
use vars qw(@ISA);
26
 
@ISA = qw(Apache::TestRun);
27
 
 
28
 
#subclass new_test_config to add some config vars which will
29
 
#be replaced in generated config, see t/conf/extra.conf.in
30
 
 
31
 
#'make test' runs -clean by default, so to actually see the replacements:
32
 
#perl t/TEST apxs ...
33
 
#cat t/conf/extra.conf
34
 
#perl t/TEST -clean
35
 
 
36
 
sub new_test_config {
37
 
    my $self = shift;
38
 
 
39
 
    $self->{conf_opts}->{authname}      = 'gold club';
40
 
    $self->{conf_opts}->{allowed_users} = 'dougm sterling';
41
 
 
42
 
    return $self->SUPER::new_test_config;
43
 
}
44
 
 
45
 
sub bug_report {
46
 
    my $self = shift;
47
 
 
48
 
    print <<EOI;
49
 
+-----------------------------------------------------+
50
 
| To report problems please refer to the SUPPORT file |
51
 
+-----------------------------------------------------+
52
 
EOI
53
 
}
54
 
 
55
 
MyTest->new->run(@ARGV);
56