8 ###############################################################################
10 my $currentversion = <<EOF;
11 11111111111111111111111111111111111111111111111111
12 222222222222222222222222222222222222222222222222222222222222
13 3333333333333333333333333333333333333333333333333333333333333333333333
14 444444444444444444444444444444444444444444444444444444444444
15 55555555555555555555555555555555555555555555555555
18 # code, msg, headers, content
24 "Content-type" => "text/plain",
25 "Last-Modified" => "Sat, 09 Oct 2004 08:30:00 GMT",
27 content => $currentversion,
31 my $cmdline = $WgetTest::WGETPATH . " -N http://localhost:8080/somefile.txt";
33 my $expected_error_code = 0;
35 my %existing_files = (
37 content => $currentversion,
38 timestamp => 1097310600, # "Sat, 09 Oct 2004 08:30:00 GMT"
42 my %expected_downloaded_files = (
44 content => $currentversion,
45 timestamp => 1097310600, # "Sat, 09 Oct 2004 08:30:00 GMT"
49 ###############################################################################
51 my $the_test = HTTPTest->new (name => "Test-N-current",
54 errcode => $expected_error_code,
55 existing => \%existing_files,
56 output => \%expected_downloaded_files);
57 exit $the_test->run();