~ubuntu-branches/ubuntu/lucid/wget/lucid-security

« back to all changes in this revision

Viewing changes to tests/Test-ftp.px

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2009-12-12 08:15:59 UTC
  • mfrom: (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091212081559-mvccl4kzdqb138y3
Tags: 1.12-1.1ubuntu1
* Merge from debian testing, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
* Keep build dependencies in main:
  - debian/control: remove info2man build-dep
  - debian/patches/00list: disable wget-infopod_generated_manpage.dpatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/perl -w
 
1
#!/usr/bin/perl
2
2
 
3
3
use strict;
 
4
use warnings;
4
5
 
5
6
use FTPTest;
6
7
 
21
22
    },
22
23
);
23
24
 
24
 
my $cmdline = $WgetTest::WGETPATH . " -S ftp://localhost:8021/afile.txt";
 
25
my $cmdline = $WgetTest::WGETPATH . " -S ftp://localhost:{{port}}/afile.txt";
25
26
 
26
27
my $expected_error_code = 0;
27
28
 
34
35
###############################################################################
35
36
 
36
37
my $the_test = FTPTest->new (name => "Test-ftp",
37
 
                             input => \%urls, 
38
 
                             cmdline => $cmdline, 
39
 
                             errcode => $expected_error_code, 
 
38
                             input => \%urls,
 
39
                             cmdline => $cmdline,
 
40
                             errcode => $expected_error_code,
40
41
                             output => \%expected_downloaded_files);
41
42
exit $the_test->run();
42
43