9 ###############################################################################
14 <title>Main Page Title</title>
17 <a href="http://localhost:{{port}}/subpage.php">Secondary Page</a>
22 my $mainpagemangled = <<EOF;
25 <title>Main Page Title</title>
28 <a href="subpage.php.html">Secondary Page</a>
36 <title>Secondary Page Title</title>
44 # code, msg, headers, content
50 "Content-type" => "text/html",
58 "Content-type" => "text/html",
64 my $cmdline = $WgetTest::WGETPATH . " -d -r -nd -E -k -K http://localhost:{{port}}/index.php";
66 my $expected_error_code = 0;
68 my %expected_downloaded_files = (
73 content => $mainpagemangled,
75 'subpage.php.html' => {
80 ###############################################################################
82 my $the_test = HTTPTest->new (name => "Test-E-k-K",
85 errcode => $expected_error_code,
86 output => \%expected_downloaded_files);
87 exit $the_test->run();