X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-N-old.px;h=fe16dbfbde6a9a6106f950f70300fbe15ea90101;hp=7cdc3a0b95e7a8bea4db25179a6f0da5b8e9fc2a;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff diff --git a/tests/Test-N-old.px b/tests/Test-N-old.px index 7cdc3a0b..fe16dbfb 100755 --- a/tests/Test-N-old.px +++ b/tests/Test-N-old.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -10,16 +11,14 @@ use HTTPTest; my $oldversion = < { @@ -33,7 +32,7 @@ my %urls = ( }, ); -my $cmdline = "wget -N http://localhost:8080/somefile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -N http://localhost:{{port}}/somefile.txt"; my $expected_error_code = 0; @@ -59,7 +58,7 @@ my $the_test = HTTPTest->new (name => "Test-N-old", errcode => $expected_error_code, existing => \%existing_files, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4