diff --git a/tests/Test--spider-HTTP-Content-Disposition.px b/tests/Test--spider-HTTP-Content-Disposition.px deleted file mode 100755 index 79eaba5a..00000000 --- a/tests/Test--spider-HTTP-Content-Disposition.px +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/perl -w - -use strict; - -use HTTPTest; - - -############################################################################### - -my $mainpage = < - - Main Page - - -

- Some text. -

- - -EOF - -# code, msg, headers, content -my %urls = ( - '/index.html' => { - code => "200", - msg => "Dontcare", - headers => { - "Content-type" => "text/html", - "Content-Disposition" => "attachment; filename=\"filename.html\"", - }, - content => $mainpage, - }, -); - -my $cmdline = $WgetTest::WGETPATH . " --spider http://localhost:8080/index.html"; - -my $expected_error_code = 256; - -my %expected_downloaded_files = ( -); - -############################################################################### - -my $the_test = HTTPTest->new (name => "Test--spider-HTTP-Content-Disposition", - input => \%urls, - cmdline => $cmdline, - errcode => $expected_error_code, - output => \%expected_downloaded_files); -exit $the_test->run(); - -# vim: et ts=4 sw=4 - diff --git a/tests/run-px b/tests/run-px index 76a69dd9..fd1c40ac 100755 --- a/tests/run-px +++ b/tests/run-px @@ -9,6 +9,7 @@ my @tests = ( 'Test-proxy-auth-basic.px', 'Test-proxied-https-auth.px', 'Test-N-HTTP-Content-Disposition.px', + 'Test--spider.px', 'Test-c-full.px', 'Test-c-partial.px', @@ -37,15 +38,10 @@ my @tests = ( 'Test-Restrict-Lowercase.px', 'Test-Restrict-Uppercase.px', 'Test--spider-fail.px', - 'Test--spider-HTTP-Content-Disposition.px', 'Test--spider-r-HTTP-Content-Disposition.px', 'Test--spider-r--no-content-disposition.px', 'Test--spider-r--no-content-disposition-trivial.px', 'Test--spider-r.px', -# FAILING: -# 'Test--spider--no-content-disposition.px', -# 'Test--spider--no-content-disposition-trivial.px', -# 'Test--spider.px', ); my @results;