From: Micah Cowan Date: Fri, 23 May 2008 07:04:09 +0000 (-0700) Subject: Remove Test--spider-HTTP-Content-Disposition.px. X-Git-Tag: v1.13~421^2~12^2~7^2~6 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=6ed6093dfcdfbae6f74ef96763200e5523cfb0df Remove Test--spider-HTTP-Content-Disposition.px. --- 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;