X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-c-full.px;h=2d10745312ee38bba871e53fc56db3525a93e3b2;hb=edc9055768fed952b30629a9e8fa38ef68761882;hp=c57182ef201bd4c106a6ab6da9df8bebe6fb8338;hpb=227d03c80379c269eaf7ee57da711f22d13b33b8;p=wget diff --git a/tests/Test-c-full.px b/tests/Test-c-full.px old mode 100644 new mode 100755 index c57182ef..2d107453 --- a/tests/Test-c-full.px +++ b/tests/Test-c-full.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use HTTPTest; @@ -27,7 +28,7 @@ my %urls = ( }, ); -my $cmdline = "wget -c http://localhost:8080/somefile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt"; my $expected_error_code = 0; @@ -51,7 +52,7 @@ my $the_test = HTTPTest->new (name => "Test-c-full", errcode => $expected_error_code, existing => \%existing_files, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4