X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-N.px;h=2f139b51a7032f60d55025746bb317c5fde2c4f6;hp=d70171db7ef3b4f3ff35e76d4729a09dc04f2181;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=f0b4f352bfedd1ac5b639db801445261f19a73ff diff --git a/tests/Test-N.px b/tests/Test-N.px index d70171db..2f139b51 100755 --- a/tests/Test-N.px +++ b/tests/Test-N.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -24,7 +25,7 @@ my %urls = ( }, ); -my $cmdline = "wget -N http://localhost:8080/dummy.txt"; +my $cmdline = $WgetTest::WGETPATH . " -N http://localhost:{{port}}/dummy.txt"; my $expected_error_code = 0; @@ -42,7 +43,7 @@ my $the_test = HTTPTest->new (name => "Test-N", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4