~ubuntu-branches/ubuntu/trusty/wget/trusty-updates

« back to all changes in this revision

Viewing changes to tests/Test-c.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 HTTPTest;
6
7
 
27
28
    },
28
29
);
29
30
 
30
 
my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:8080/somefile.txt";
 
31
my $cmdline = $WgetTest::WGETPATH . " -c http://localhost:{{port}}/somefile.txt";
31
32
 
32
33
my $expected_error_code = 0;
33
34
 
43
44
###############################################################################
44
45
 
45
46
my $the_test = HTTPTest->new (name => "Test-c",
46
 
                              input => \%urls, 
47
 
                              cmdline => $cmdline, 
48
 
                              errcode => $expected_error_code, 
 
47
                              input => \%urls,
 
48
                              cmdline => $cmdline,
 
49
                              errcode => $expected_error_code,
49
50
                              existing => \%existing_files,
50
51
                              output => \%expected_downloaded_files);
51
52
exit $the_test->run();