Commit d84792b6 authored by Sergei Golubchik's avatar Sergei Golubchik

Skip pam tests unless $USER owns auth_pam_tool_dir

(meaning, if MariaDB is installed system-wide, pam tests
require mtr to be run as mysql user)
parent 4f87ad19
......@@ -14,6 +14,8 @@ sub skip_combinations {
my %skip;
$skip{'t/pam_init.inc'} = 'No pam setup for mtr'
unless -e '/etc/pam.d/mariadb_mtr';
$skip{'t/pam_init.inc'} = 'Not run as user owning auth_pam_tool_dir'
unless -o $::plugindir . '/auth_pam_tool_dir';
$skip{'t/cassandra.test'} = 'Cassandra is not running'
unless cassandra_running();
$skip{'t/cassandra_qcache.test'} = $skip{'t/cassandra.test'};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment