From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 29 Jun 2011 20:31:05 +0000 (+0000)
Subject: Unbreak execute_dumb_fetch_test().
X-Git-Tag: v_3_0_18~188
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/faq/appendix.html?a=commitdiff_plain;h=11cbaaf48573091fcf92afd14724db780be75b9d;p=privoxy.git
Unbreak execute_dumb_fetch_test().
Apparently 1.73 wasn't regression-tested. How ironic.
---
diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 52c4787c..6e977ac6 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -7,7 +7,7 @@
# A regression test "framework" for Privoxy. For documentation see:
# perldoc privoxy-regression-test.pl
#
-# $Id: privoxy-regression-test.pl,v 1.74 2011/06/29 18:35:01 fabiankeil Exp $
+# $Id: privoxy-regression-test.pl,v 1.75 2011/06/29 18:36:24 fabiankeil Exp $
#
# Wish list:
#
@@ -743,10 +743,10 @@ sub execute_dumb_fetch_test ($) {
my $expected_status_code = $test->{'expected-status-code'};
if (defined $test->{method}) {
- $curl_parameters .= quote('--request') . quote($test->{method}) . ' ';
+ $curl_parameters .= '--request ' . quote($test->{method}) . ' ';
}
if ($test->{type} == TRUSTED_CGI_REQUEST) {
- $curl_parameters .= quote('--referer ') . quote(PRIVOXY_CGI_URL) . ' ';
+ $curl_parameters .= '--referer ' . quote(PRIVOXY_CGI_URL) . ' ';
}
$curl_parameters .= quote($test->{'data'});