9 ###############################################################################
11 my $wholefile = <<EOF;
12 11111111111111111111111111111111111111111111111111
13 222222222222222222222222222222222222222222222222222222222222
14 3333333333333333333333333333333333333333333333333333333333333333333333
15 444444444444444444444444444444444444444444444444444444444444
16 55555555555555555555555555555555555555555555555555
19 # code, msg, headers, content
25 "Content-type" => "text/plain",
27 content => $wholefile,
31 my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt";
33 my $expected_error_code = 0;
35 my %existing_files = (
38 my %expected_downloaded_files = (
40 content => $wholefile,
44 ###############################################################################
46 my $the_test = HTTPTest->new (name => "Test-c",
49 errcode => $expected_error_code,
50 existing => \%existing_files,
51 output => \%expected_downloaded_files);
52 exit $the_test->run();