Re: check for regression-tests.action?

Fabian Keil <[email protected]> Mon, 17 Nov 2014 19:35:15 +0100
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Lee <[email protected]> wrote:

> Could privoxy-regression-test.pl be changed so that it gives a warning
> if there is no regression-tests.action configured?

It's a valid configuration, so I'm not sure it would be a good
default, but I guess having a "packaging" mode that enables this
and other warnings wouldn't hurt.

> I remembered to copy regression-tests.action to C:\Program Files
> (x86)\Privoxy but forgot to add it in config.txt :(
> So I thought everything passed & that turns out not to be the case:
> 
> /source/privoxy-3.0.22-stable/current/tools
> $ ./privoxy-regression-test.pl --max-level 200 --privoxy-address 127.0.0.1:8118
> 2014-11-17 10:45:05: Asking Privoxy for the number of action files available ...
> 2014-11-17 10:45:05: Gathering regression tests from 4 action file(s)
> delivered by Privoxy 3.0.22.
> 2014-11-17 10:45:06: Executing regression tests ...
> 2014-11-17 10:45:45: Ooops. Got: 'REMOVAL' while expecting: 'NO CHANGE'
> 2014-11-17 10:45:45: Failure for test 514. Header 'Keep-Alive: 20' and
> tag 'Parse Keep-Alive header'
> 2014-11-17 10:45:45: Ooops. Got: 'REMOVAL' while expecting: 'NO CHANGE'
> 2014-11-17 10:45:45: Failure for test 515. Header 'Keep-Alive:
> timeout=20, max=3' and tag 'Parse Keep-Alive header'
> 2014-11-17 10:45:45: Ooops. Got: 'REMOVAL' while expecting: 'NO CHANGE'
> 2014-11-17 10:45:45: Failure for test 516. Header 'Keep-Alive:
> blah=fasel, timeout=20, max=3' and tag 'Parse Keep-Alive header'
> 2014-11-17 10:46:02: Executed 687 regression tests. Skipped 27. 684
> successes, 3 failures.

I believe the problem here is that the tests are executed even though
they aren't supposed to pass. They are executed if keep-alive-timeout is
set to any digit but actually require a keep-alive-timeout of 20 or more
to pass.

Fabian

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUaj/jAAoJEGkYIpGLojccZQoQAIW6Jt2uz9W5I9JIQDWoJuGF
1LDzQbuULeGasUC/GlEVPH1bawT3nTi8DYook+ECYf0YfHzBoZBJ4LkCYq/kz91z
QWTqICKwZNfe6xTsKmcknO81Fl3btWWJoJUvVNEerIYteB0ZwwgrLvZd3317kvRA
KiR82g2aaPuBtWde5bBdbi6L8lKu3XvGlH5sE7LVW8e16A+ounr3/pu74/z7ApO1
Dfe7+qglAjYSt8pPrPKL0SMFgHqgfLd88xsQuo4SUDohxQiN16xABmGdolMf30iJ
mX/6NQ0P+rHIsCFc6spxGTRVTvTc4yPHZNt6GaWc3eBmO+GjFIqXJGkfOBqSD5lW
kHiJ09xKdMYOq3GPDub74UsvmBS5r+jbVTRpCoKW1DS25s8+DZQn9WKTeclqBj+c
3CW+T57L8NF+x2C9DlNJyugbeeeuhGMQX9zByox6NzdnTJhBA1SmtLL67DQewa0I
nHvfWptX4xPAPtrIKsM6pzr8AjmnO8hdlew9Wqg4NXGM9fxu/eNevx35lx6GA7Kg
fBrzcNFI2VtS1KidR5KfS0WwqXbWDUvG0aWYTAEGib+vixXAnf3higZ7b0x0xBLI
ySDm7MYFcbuamaxZrtXkVVXUNhbG0gdIFsJ+hMDVIjAmvzwjtfFzuCbTSjnKqYW8
e+t5Tk1kqa4GlAD8BPGv
=W4AY
-----END PGP SIGNATURE-----