-#!/usr/bin/perl -w
+#!/usr/bin/env perl
use strict;
+use warnings;
use FTPTest;
},
);
-my $cmdline = "wget -S ftp://localhost:8021/afile.txt";
+my $cmdline = $WgetTest::WGETPATH . " -S ftp://localhost:{{port}}/afile.txt";
my $expected_error_code = 0;
###############################################################################
my $the_test = FTPTest->new (name => "Test-ftp",
- input => \%urls,
- cmdline => $cmdline,
- errcode => $expected_error_code,
+ input => \%urls,
+ cmdline => $cmdline,
+ errcode => $expected_error_code,
output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
# vim: et ts=4 sw=4