X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-N-current.px;h=47003c7ee2cd085ff3f3310391339aa1359c3f58;hp=bb5b0d922a5bb36dc14b49da917bbc70e5eb9705;hb=ae6b79c8559f78de09a90f51b1e40bb244753d32;hpb=19f0a05e9135c570b871804b7b88724e9746c005 diff --git a/tests/Test-N-current.px b/tests/Test-N-current.px index bb5b0d92..47003c7e 100755 --- a/tests/Test-N-current.px +++ b/tests/Test-N-current.px @@ -7,7 +7,7 @@ use HTTPTest; ############################################################################### -my $wholefile = < "Dontcare", headers => { "Content-type" => "text/plain", + "Last-Modified" => "Sat, 09 Oct 2004 08:30:00 GMT", }, - content => $wholefile, + content => $currentversion, }, ); -my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:8080/somefile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -N http://localhost:8080/somefile.txt"; my $expected_error_code = 0; my %existing_files = ( 'somefile.txt' => { - content => $wholefile, + content => $currentversion, + timestamp => 1097310600, # "Sat, 09 Oct 2004 08:30:00 GMT" }, ); my %expected_downloaded_files = ( 'somefile.txt' => { - content => $wholefile, + content => $currentversion, + timestamp => 1097310600, # "Sat, 09 Oct 2004 08:30:00 GMT" }, );