1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-8481 mysql-test - main.func_crypt fails if FIPS=1

disable the test when crypt(3) doesn't work
This commit is contained in:
Sergei Golubchik
2016-04-22 13:10:14 +02:00
parent 78989b67d1
commit 906f97d310
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,5 @@
-- require r/have_crypt.require
disable_query_log;
show variables like 'have_crypt';
enable_query_log;
# encrypt('a') is NULL if crypt(3) is not available
# encrypt('a') is "*0" in fips mode
if (`select length(encrypt('a')) > 3 IS NOT TRUE`) {
skip No crypt(3);
}