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 = (
36 content => $wholefile,
40 my %expected_downloaded_files = (
42 content => $wholefile,
46 ###############################################################################
48 my $the_test = HTTPTest->new (name => "Test-c-full",
51 errcode => $expected_error_code,
52 existing => \%existing_files,
53 output => \%expected_downloaded_files);
54 exit $the_test->run();