Apache-Config-Preproc
view release on metacpan or search on metacpan
t/01include00.t view on Meta::CPAN
# -*- perl -*-
use lib qw(t lib);
use strict;
use Test;
plan test => 1;
use TestPreproc;
my $obj = new TestPreproc -expand => [qw(include)];
ok($obj->dump_raw, $obj->dump_expect);
__DATA__
!>httpd.conf
# Main file
ServerName localhost
ServerRoot "$server_root"
Include vhost.conf
PidFile logs/httpd.pid
!>vhost.conf
# Vhost include
<VirtualHost *:80>
ServerName foo.bar.example.com
</VirtualHost>
!=
# Main file
ServerName localhost
ServerRoot "$server_root"
# Vhost include
<VirtualHost *:80>
ServerName foo.bar.example.com
</VirtualHost>
PidFile logs/httpd.pid
!$
( run in 0.808 second using v1.01-cache-2.11-cpan-437f7b0c052 )