Title | Test suite doesn't handle recent Bugzilla releases |
Status | closed |
Priority | essential |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | The 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 found | automated_test |
Evidence | I just know. |
Observed in | 2.1.2 |
Introduced in | 2.1.2 |
Created by | Nick Barnes |
Created on | 2004-06-29 15:50:10 |
Last modified by | Nick Barnes |
Last modified on | 2004-07-16 14:33:12 |
History | 2004-06-29 NB Created. |