From fe5990f20875d85ce8fcdbc06f4a760cddd5a5b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Tue, 23 Aug 2022 11:56:25 +0200 Subject: [PATCH] remove whitespaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Sjögren --- include/tests_databases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tests_databases b/include/tests_databases index f5bc22ae..7c829cd3 100644 --- a/include/tests_databases +++ b/include/tests_databases @@ -85,7 +85,7 @@ LogText "Test: Trying to login to local MySQL server without password" # "-u root --password=" avoids ~/.my.cnf authentication settings - # "plugin = 'mysql_native_password' AND authentication_string = ''" avoids false positives when secure plugins are used + # "plugin = 'mysql_native_password' AND authentication_string = ''" avoids false positives when secure plugins are used FIND=$(${MYSQLCLIENTBINARY} --default-auth=mysql_native_password --no-defaults -u root --password= --silent --batch --execute="SELECT count(*) FROM mysql.user WHERE user = 'root' AND plugin = 'mysql_native_password' AND authentication_string = ''" mysql > /dev/null 2>&1; echo $?) if [ "${FIND}" = "0" ]; then LogText "Result: Login succeeded, no MySQL root password set!" @@ -213,7 +213,7 @@ ReportWarning "${TEST_NO}" "PostgreSQL configuration file ${CF} is world readable and might leak sensitive details" "${CF}" "Use chmod 600 to change file permissions" else LogText "Result: great, configuration file ${CF} is not world readable" - fi + fi done fi #