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

« back to all changes in this revision

Viewing changes to tests/Test-HTTP-Content-Disposition-2.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
 
37
38
    },
38
39
);
39
40
 
40
 
my $cmdline = $WgetTest::WGETPATH . " --no-content-disposition http://localhost:8080/dummy.html";
 
41
my $cmdline = $WgetTest::WGETPATH . " --no-content-disposition http://localhost:{{port}}/dummy.html";
41
42
 
42
43
my $expected_error_code = 0;
43
44
 
65
66
###############################################################################
66
67
 
67
68
my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-2",
68
 
                              input => \%urls, 
69
 
                              cmdline => $cmdline, 
70
 
                              errcode => $expected_error_code, 
 
69
                              input => \%urls,
 
70
                              cmdline => $cmdline,
 
71
                              errcode => $expected_error_code,
71
72
                              existing => \%existing_files,
72
73
                              output => \%expected_downloaded_files);
73
74
exit $the_test->run();