]> sjero.net Git - wget/blobdiff - tests/Test-HTTP-Content-Disposition-1.px
Updated config.guess, config.sub, install.sh.
[wget] / tests / Test-HTTP-Content-Disposition-1.px
index da27e3e1d899cd874eb76b3b5bd386921fcdd8df..3d2701433b0ba136478ff48dc13af7b2987773bd 100755 (executable)
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 
 use HTTPTest;
 
@@ -37,7 +38,7 @@ my %urls = (
     },
 );
 
-my $cmdline = "wget http://localhost:8080/dummy.html";
+my $cmdline = $WgetTest::WGETPATH . " -e contentdisposition=on http://localhost:{{port}}/dummy.html";
 
 my $expected_error_code = 0;
 
@@ -70,7 +71,7 @@ my $the_test = HTTPTest->new (name => "Test-HTTP-Content-Disposition-1",
                               errcode => $expected_error_code, 
                               existing => \%existing_files,
                               output => \%expected_downloaded_files);
-$the_test->run();
+exit $the_test->run();
 
 # vim: et ts=4 sw=4