1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +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 # encrypt('a') is NULL if crypt(3) is not available
disable_query_log; # encrypt('a') is "*0" in fips mode
show variables like 'have_crypt'; if (`select length(encrypt('a')) > 3 IS NOT TRUE`) {
enable_query_log; skip No crypt(3);
}

View File

@@ -1,2 +0,0 @@
Variable_name Value
have_crypt YES