From 460b023a2eee656f52578ecf9374353fcf87bc50 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 14 Feb 2009 10:13:20 +0000 Subject: [PATCH] - Change default max-level value to 100. - Mark up some strangeness that should be investigated after the next release. - Fix some style issues. - Update copyright. --- tools/privoxy-regression-test.pl | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl index 986279e1..a234628a 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.161 2008/10/25 15:44:26 fk Exp $ +# $Id: privoxy-regression-test.pl,v 1.162 2009/02/13 18:51:37 fk Exp $ # # Wish list: # @@ -19,7 +19,7 @@ # - Document magic Expect Header values # - Internal fuzz support? # -# Copyright (c) 2007-2008 Fabian Keil +# Copyright (c) 2007-2009 Fabian Keil # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -49,7 +49,8 @@ use constant { CLI_LOOPS => 1, CLI_MAX_TIME => 5, CLI_MIN_LEVEL => 0, - CLI_MAX_LEVEL => 25, + # XXX: why limit at all. + CLI_MAX_LEVEL => 100, CLI_FORKS => 0, PRIVOXY_CGI_URL => 'http://p.p/', @@ -518,8 +519,8 @@ sub execute_regression_tests () { 'Skipped ' . $skipped . '. ' . $successes . " successes, " . $failures . " failures."); - $all_tests += $tests; - $all_failures += $failures; + $all_tests += $tests; + $all_failures += $failures; $all_successes += $successes; } @@ -562,7 +563,7 @@ sub dependency_unsatisfied ($) { foreach (@privoxy_config) { $dependency_problem = 0 if (/$dependency/); - last; + last; # XXX: this looks ... interesting. } } elsif (defined ($dependencies{$level}{'feature status'})) { @@ -1275,9 +1276,7 @@ sub log_message ($) { $message = $time_stamp . ": " . $message; } - printf(STDERR "%s\n", $message); - } sub log_result ($$) { @@ -1368,7 +1367,7 @@ sub quote ($) { } sub print_version () { - printf PRT_VERSION . "\n" . 'Copyright (C) 2007-2008 Fabian Keil ' . "\n"; + printf PRT_VERSION . "\n" . 'Copyright (C) 2007-2009 Fabian Keil ' . "\n"; } sub help () { -- 2.39.2