From 9183f66f056e274906f7742ed8762f0205510778 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Wed, 4 Jul 2018 23:15:25 +0400 Subject: [PATCH] MDEV-15473 Isolate/sandbox PAM modules, so that they can't crash the server tests fixed. --- mysql-test/suite/plugins/suite.pm | 4 +--- mysql-test/suite/plugins/t/pam_cleartext.test | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mysql-test/suite/plugins/suite.pm b/mysql-test/suite/plugins/suite.pm index 346f28cf696..cb42fb66705 100644 --- a/mysql-test/suite/plugins/suite.pm +++ b/mysql-test/suite/plugins/suite.pm @@ -12,9 +12,7 @@ sub cassandra_running() { sub skip_combinations { my %skip; - $skip{'t/pam.test'} = 'No pam setup for mtr' - unless -e '/etc/pam.d/mariadb_mtr'; - $skip{'t/pam_v1.test'} = 'No pam setup for mtr' + $skip{'t/pam_init.inc'} = 'No pam setup for mtr' unless -e '/etc/pam.d/mariadb_mtr'; $skip{'t/cassandra.test'} = 'Cassandra is not running' unless cassandra_running(); diff --git a/mysql-test/suite/plugins/t/pam_cleartext.test b/mysql-test/suite/plugins/t/pam_cleartext.test index 29ed7430649..5d137e6b416 100644 --- a/mysql-test/suite/plugins/t/pam_cleartext.test +++ b/mysql-test/suite/plugins/t/pam_cleartext.test @@ -1,4 +1,4 @@ - +let $PAM_PLUGIN_VERSION= $AUTH_PAM_SO; --source pam_init.inc show variables like 'pam_use_%';