File: mod_perl-non-root.pl

package info (click to toggle)
libcatalyst-engine-apache-perl 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,040 kB
  • ctags: 667
  • sloc: perl: 6,344; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!perl

# Run all tests against Apache mod_perl
#
# Note, to get this to run properly, you may need to give it the path to your
# httpd.conf:
#
# perl t/optional/mod_perl-non-root.pl -httpd_conf /etc/apache/httpd.conf
#
# For debugging, you can start TestApp and leave it running with
# perl t/optional/mod_perl.pl -httpd_conf /etc/apache/httpd.conf --start-httpd
#
# To stop it:
# perl t/optional/mod_perl.pl -httpd_conf /etc/apache/httpd.conf --stop-httpd

use strict;
use warnings;

use Apache::Test;
use Apache::TestRunPerl ();

$ENV{CATALYST_SERVER} = 'http://localhost:8529/deep/path';

Apache::TestRunPerl->new->run(@ARGV);