summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2009-10-08 11:14:42 +0200
committerBjorn Munch <Bjorn.Munch@sun.com>2009-10-08 11:14:42 +0200
commit0aca4f0011b8f13b482930f4b8088cdc4c8ab3b6 (patch)
tree81b9ade05390ba5d52c2aacf29248e960e0f6e9f /mysql-test/mysql-test-run.pl
parentfabde82dbd0d4281421ee414603640659c9ab8aa (diff)
downloadmariadb-git-0aca4f0011b8f13b482930f4b8088cdc4c8ab3b6.tar.gz
Bug #46625 Pushbuild2: does not notice test failure in "Innodb Plugin" mode
Disallow (and don't use) space in combination names
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 846f307ea97..46a6d5af4bc 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3247,6 +3247,12 @@ sub run_testcase ($) {
mtr_verbose("Running test:", $tinfo->{name});
+ # Allow only alpanumerics pluss _ - + . in combination names
+ my $combination= $tinfo->{combination};
+ if ($combination && $combination !~ /^\w[\w-\.\+]+$/)
+ {
+ mtr_error("Combination '$combination' contains illegal characters");
+ }
# -------------------------------------------------------
# Init variables that can change between each test case
# -------------------------------------------------------