X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=tests%2FTest-ftp.px;h=a98d745feaf67103eba2806b563af1af8bd30aa6;hp=5925e38b4f5fafac65e96e9e83add4d1629ca7ca;hb=30391ad9b479dfb0538c85c86976ab7fa24bacc2;hpb=caae3b70f46bd519857b595f7f06ea0179551336 diff --git a/tests/Test-ftp.px b/tests/Test-ftp.px index 5925e38b..a98d745f 100755 --- 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 = $WgetTest::WGETPATH . " -S ftp://localhost:8021/afile.txt"; +my $cmdline = $WgetTest::WGETPATH . " -S ftp://localhost:{{port}}/afile.txt"; my $expected_error_code = 0;