From: <no...@so...> - 2009-05-27 20:46:03
|
Update of /cvsroot/ijbswa/current/tools In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21679/tools Modified Files: privoxy-regression-test.pl Log Message: Due to a bug in dependency_unsatisfied(), tests were executed as long as the first config-line dependency registered didn't match the first directive in the config file. It "worked" so far, because until recently we only had a single config-line dependency and only had to check the user-manual directive, which usually is the first one. And there I was rewriting client_connection() from scratch, puzzled that the stupid connection-sharing tests would still fail. Index: privoxy-regression-test.pl =================================================================== RCS file: /cvsroot/ijbswa/current/tools/privoxy-regression-test.pl,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- privoxy-regression-test.pl 25 May 2009 19:37:43 -0000 1.40 +++ privoxy-regression-test.pl 27 May 2009 20:45:31 -0000 1.41 @@ -587,8 +587,10 @@ foreach (@privoxy_config) { - $dependency_problem = undef if (/$dependency/); - last; # XXX: this looks ... interesting. + if (/$dependency/) { + $dependency_problem = undef; + last; + } } } elsif (defined ($dependencies{$level}{'feature status'})) { |