8 ###############################################################################
13 <title>Main Page Title</title>
16 <a href="http://localhost:{{port}}/subpage.php">Secondary Page</a>
21 my $mainpagemangled = <<EOF;
24 <title>Main Page Title</title>
27 <a href="subpage.php.html">Secondary Page</a>
35 <title>Secondary Page Title</title>
43 # code, msg, headers, content
49 "Content-type" => "text/html",
57 "Content-type" => "text/html",
63 my $cmdline = $WgetTest::WGETPATH . " -d -r -nd -E -k -K http://localhost:{{port}}/index.php";
65 my $expected_error_code = 0;
67 my %expected_downloaded_files = (
72 content => $mainpagemangled,
74 'subpage.php.html' => {
79 ###############################################################################
81 my $the_test = HTTPTest->new (name => "Test-E-k-K",
84 errcode => $expected_error_code,
85 output => \%expected_downloaded_files);
86 exit $the_test->run();