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

« back to all changes in this revision

Viewing changes to tests/Test-O-HTTP-Content-Disposition.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
 
24
25
    },
25
26
);
26
27
 
27
 
my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:8080/dummy.txt";
 
28
my $cmdline = $WgetTest::WGETPATH . " -O out http://localhost:{{port}}/dummy.txt";
28
29
 
29
30
my $expected_error_code = 0;
30
31
 
37
38
###############################################################################
38
39
 
39
40
my $the_test = HTTPTest->new (name => "Test-O-HTTP-Content-Disposition",
40
 
                              input => \%urls, 
41
 
                              cmdline => $cmdline, 
42
 
                              errcode => $expected_error_code, 
 
41
                              input => \%urls,
 
42
                              cmdline => $cmdline,
 
43
                              errcode => $expected_error_code,
43
44
                              output => \%expected_downloaded_files);
44
45
exit $the_test->run();
45
46