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 . " -r -nd -E -k http://localhost:{{port}}/index.php";
66 my $expected_error_code = 0;
68 my %expected_downloaded_files = (
70 content => $mainpagemangled,
72 'subpage.php.html' => {
77 ###############################################################################
79 my $the_test = HTTPTest->new (name => "Test-E-k",
82 errcode => $expected_error_code,
83 output => \%expected_downloaded_files);
84 exit $the_test->run();