Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-08-24 12:36:51 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-08-24 12:36:51 +0300
commite3af7c37275c488af82345ce2acbc9c0fbf80624 (patch)
tree13749baf3598036dada6aaaf86636561ac558a24 /include/tests_databases
parent5ab139931d024b0972fb8ca6f9ba32cceae8a285 (diff)
[DBS-1816] Set skip reason variable
Diffstat (limited to 'include/tests_databases')
-rw-r--r--include/tests_databases2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_databases b/include/tests_databases
index e48a6066..8c27cefd 100644
--- a/include/tests_databases
+++ b/include/tests_databases
@@ -71,7 +71,7 @@
# Test : DBS-1816
# Description : Check empty MySQL root password
# Notes : Only perform test when MySQL is running and client is available
- if [ ! "${MYSQLCLIENTBINARY}" = "" -a ${MYSQL_RUNNING} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; SKIPREASON="MySQL not installed, or not running"; fi
+ if [ ! "${MYSQLCLIENTBINARY}" = "" -a ${MYSQL_RUNNING} -eq 1 ]; then PREQS_MET="YES"; SKIPREASON=""; else PREQS_MET="NO"; SKIPREASON="MySQL not installed, or not running"; fi
Register --test-no DBS-1816 --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight L --network NO --category security --description "Checking MySQL root password"
if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: Trying to login to local MySQL server without password"