]> sjero.net Git - wget/commitdiff
Remove Test--spider-HTTP-Content-Disposition.px.
authorMicah Cowan <micah@cowan.name>
Fri, 23 May 2008 07:04:09 +0000 (00:04 -0700)
committerMicah Cowan <micah@cowan.name>
Fri, 23 May 2008 07:04:09 +0000 (00:04 -0700)
tests/Test--spider-HTTP-Content-Disposition.px [deleted file]
tests/run-px

diff --git a/tests/Test--spider-HTTP-Content-Disposition.px b/tests/Test--spider-HTTP-Content-Disposition.px
deleted file mode 100755 (executable)
index 79eaba5..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/perl -w
-
-use strict;
-
-use HTTPTest;
-
-
-###############################################################################
-
-my $mainpage = <<EOF;
-<html>
-<head>
-  <title>Main Page</title>
-</head>
-<body>
-  <p>
-    Some text.
-  </p>
-</body>
-</html>
-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
-
index 76a69dd9b8ab2638768ddd9c903393ef630567dc..fd1c40acdadbdf39a9ff1a4aeb1816fa278de716 100755 (executable)
@@ -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;