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 = (
37 content => $wholefile,
41 my %expected_downloaded_files = (
43 content => $wholefile,
47 ###############################################################################
49 my $the_test = HTTPTest->new (name => "Test-c-full",
52 errcode => $expected_error_code,
53 existing => \%existing_files,
54 output => \%expected_downloaded_files);
55 exit $the_test->run();