8 ###############################################################################
10 my $wholefile = <<EOF;
11 11111111111111111111111111111111111111111111111111
12 222222222222222222222222222222222222222222222222222222222222
13 3333333333333333333333333333333333333333333333333333333333333333333333
14 444444444444444444444444444444444444444444444444444444444444
15 55555555555555555555555555555555555555555555555555
18 # code, msg, headers, content
24 "Content-type" => "text/plain",
26 content => $wholefile,
30 my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt";
32 my $expected_error_code = 0;
34 my %existing_files = (
37 my %expected_downloaded_files = (
39 content => $wholefile,
43 ###############################################################################
45 my $the_test = HTTPTest->new (name => "Test-c",
48 errcode => $expected_error_code,
49 existing => \%existing_files,
50 output => \%expected_downloaded_files);
51 exit $the_test->run();