9 ###############################################################################
11 my $existingfile = <<EOF;
12 content should be preserved.
15 my $wholefile = "1234";
17 # code, msg, headers, content
23 "Content-type" => "text/plain",
25 content => $wholefile,
29 my $cmdline = $WgetTest::WGETPATH . " --start-pos=1 --continue --debug http://localhost:{{port}}/somefile.txt";
31 my $expected_error_code = 0;
33 my %existing_files = (
35 content => $existingfile,
39 my %expected_downloaded_files = (
41 content => substr($wholefile, 1),
45 ###############################################################################
47 my $the_test = HTTPTest->new (name => "Test--start-pos--continue",
50 errcode => $expected_error_code,
51 existing => \%existing_files,
52 output => \%expected_downloaded_files);
53 exit $the_test->run();