P4DTI issue job000957

TitleTest suite doesn't handle recent Bugzilla releases
Assigned userNick Barnes
DescriptionThe P4DTI test suite runs some Bugzilla code as part of testing the Bugzilla integration. Some of the ways in which it invokes this code, and some of the assumptions it makes about the results, are not valid for Bugzilla 2.17.x (and will not be valid for Bugzilla 2.18).
Specifically, (a) when running Bugzilla CGI, HTTP_USER_AGENT has to be set (although not to anything in particular); (b) Bugzilla CGI Perl scripts have to be invoked with Perl taint mode on (-T, see also job000764); (c) the output of editparams.cgi now includes some "select" HTML tags, which the test suite must parse correctly; (d) the output of post_bug.cgi has changed from "Bug N posted" to "Bug N has been added to the database".
Analysis(a) Set HTTP_USER_AGENT, (b) run with -T;, although this will cause problems with versions of Bugzilla prior to 2.16, but we're going to drop support for those anyway, (c) extend our html parser class with methods for select tags, (d) extend the regexp which we use to match that line.
How foundautomated_test
EvidenceI just know.
Observed in2.1.2
Introduced in2.1.2
Created byNick Barnes
Created on2004-06-29 15:50:10
Last modified byNick Barnes
Last modified on2004-07-16 14:33:12
History2004-06-29 NB Created.


Change Effect Date User Description
97157 closed 2004-05-28 16:14:03 Nick Barnes Upgrade P4DTI test suite to handle Bugzilla 2.17.7.