Fix broken plugin tests on Xenial

This commit is contained in:
Bryan Jen 2016-08-09 15:20:42 -07:00
parent 86712c02de
commit d9203e6e1f

View file

@ -27,6 +27,10 @@ elsif fact('osfamily') =~ /Debian/
if fact('operatingsystemrelease') =~ /^10\.04/
# Only available plugin is innodb which is already loaded and not unload- or reload-able
plugin = nil
elsif fact('operatingsystemrelease') =~ /^16\.04/
# On Xenial running 5.7.12, the example plugin does not appear to be available.
plugin = 'validate_password'
plugin_lib = 'validate_password.so'
else
plugin = 'example'
plugin_lib = 'ha_example.so'