[Commits] 47c26d5: Skip necessary encryption tests if required plugin is not found.

Jan Lindström jan.lindstrom at mariadb.com
Fri Mar 27 11:37:11 EET 2015


revision-id: 47c26d5aeeae79276142746128c4b28f6693553d
parent(s): 50eee6050464e4a7737841245956a4d6c9c2dea9
committer: Jan Lindström
branch nick: 10.1
timestamp: 2015-03-27 11:36:43 +0200
message:

Skip necessary encryption tests if required plugin is not found.

---
 mysql-test/suite.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mysql-test/suite.pm b/mysql-test/suite.pm
index 5eafd4e..220c15e 100644
--- a/mysql-test/suite.pm
+++ b/mysql-test/suite.pm
@@ -70,6 +70,12 @@ sub skip_combinations {
     unless $::mysqld_variables{'version-ssl-library'} =~ /OpenSSL (\S+)/
        and $1 ge "1.0.1";
 
+  $skip{'include/have_example_key_management_plugin.inc'} = 'no example_key_management_plugin'
+    unless $ENV{EXAMPLE_KEY_MANAGEMENT_PLUGIN_SO};
+
+  $skip{'include/have_file_key_management_plugin.inc'} = 'no file_key_management_plugin'
+    unless $ENV{FILE_KEY_MANAGEMENT_PLUGIN_SO};
+
   %skip;
 }
 


More information about the commits mailing list