use strict;
use warnings FATAL => 'all';
use Apache::Test qw(plan ok have_lwp);
use Apache::TestUtil qw(t_cmp);
use Apache::TestRequest qw(GET_BODY GET);
my @options = (
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
'',
);
plan tests => scalar(@options);
my $url = '/';
my $data = GET_BODY($url);
for (@options) {
my ($option) = $_ =~ /name="(.+?)"/;
(my $regex = $_) =~ s/([\.\[\]\(\)\{\}\*\+\?\^\$])/\\$1/g;
ok t_cmp(
$data,
qr{$regex},
"option $option"
);
}