diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-10-08 11:14:42 +0200 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-10-08 11:14:42 +0200 |
commit | 0aca4f0011b8f13b482930f4b8088cdc4c8ab3b6 (patch) | |
tree | 81b9ade05390ba5d52c2aacf29248e960e0f6e9f /mysql-test/mysql-test-run.pl | |
parent | fabde82dbd0d4281421ee414603640659c9ab8aa (diff) | |
download | mariadb-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-x | mysql-test/mysql-test-run.pl | 6 |
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 # ------------------------------------------------------- |