X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=tests%2FTest-ftp.px;h=a98d745feaf67103eba2806b563af1af8bd30aa6;hb=1777835073cad695bce04848aa6f33e9686e7fc1;hp=c756ac6b0910c165232f52f6759382dad91fc0b2;hpb=9b593768f79f045ebfb8fe23da33ad2678a390bb;p=wget diff --git a/tests/Test-ftp.px b/tests/Test-ftp.px old mode 100644 new mode 100755 index c756ac6b..a98d745f --- a/tests/Test-ftp.px +++ b/tests/Test-ftp.px @@ -1,6 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl use strict; +use warnings; use FTPTest; @@ -21,7 +22,7 @@ my %urls = ( }, ); -my $cmdline = "wget -S ftp://localhost:8021/afile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -S ftp://localhost:{{port}}/afile.txt"; my $expected_error_code = 0; @@ -38,7 +39,7 @@ my $the_test = FTPTest->new (name => "Test-ftp", cmdline => $cmdline, errcode => $expected_error_code, output => \%expected_downloaded_files); -$the_test->run(); +exit $the_test->run(); # vim: et ts=4 sw=4