Check that mysqladmin exists before running mysql integration tests.

This commit is contained in:
Justin Anderson 2016-07-13 11:08:26 -06:00
parent 3e612c3794
commit dd1559a599

View file

@ -14,6 +14,7 @@ ensure_in_syspath('../../')
# Import salt libs
import integration
import salt.utils
from salt.modules import mysql as mysqlmod
# Import 3rd-party libs
@ -28,6 +29,9 @@ try:
except Exception:
NO_MYSQL = True
if not salt.utils.which('mysqladmin'):
NO_MYSQL = True
@skipIf(
NO_MYSQL,