Skip to content
Browse files

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)
  • Loading branch information...
vuvova committed Jul 1, 2019
1 parent 4f87ad1 commit d84792b689e753b22d4127ff45119951ff14108b
Showing with 2 additions and 0 deletions.
  1. +2 −0 mysql-test/suite/plugins/
@@ -14,6 +14,8 @@ sub skip_combinations {
my %skip;
$skip{'t/'} = 'No pam setup for mtr'
unless -e '/etc/pam.d/mariadb_mtr';
$skip{'t/'} = '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'};

0 comments on commit d84792b

Please sign in to comment.
You can’t perform that action at this time.