maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #03506
Re: [Commits] Rev 2835: added a sphinxse test suite in http://bazaar.launchpad.net/~maria-captains/maria/5.2/
<serg@xxxxxxxxxxxx> writes:
> === added file 'mysql-test/suite/sphinx/sphinx.test'
> --- a/mysql-test/suite/sphinx/sphinx.test 1970-01-01 00:00:00 +0000
> +++ b/mysql-test/suite/sphinx/sphinx.test 2010-08-06 13:11:37 +0000
> @@ -0,0 +1,30 @@
> +if (`SELECT "$HAVE_SPHINX" < "0000.0009.0009"`) {
> + skip Need Sphinx version 0.9.9 or later;
> +}
> +if (`SELECT "$HA_SPHINX_SO" = ""`) {
> + skip No SphinxSE plugin;
> +}
> +
> +eval INSTALL PLUGIN sphinx SONAME "$HA_SPHINX_SO";
Should there be an UNINSTALL PLUGIN at the end of the test case?
Otherwise I suppose following test cases could end up running with the plugin
loaded (or not, at random), potentially causing .result differences.
- Kristian.
Follow ups