mirror of https://github.com/CISOfy/lynis.git
Show debug details on screen in verbose mode
This commit is contained in:
parent
f7e353fe17
commit
573698afdb
|
@ -1686,10 +1686,13 @@
|
||||||
|
|
||||||
# Increase counter for every registered test which is performed
|
# Increase counter for every registered test which is performed
|
||||||
CountTests
|
CountTests
|
||||||
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Performing test ID ${TEST_NO} ($TEST_DESCRIPTION)"; fi
|
if [ ${SKIPLOGTEST} -eq 0 ]; then
|
||||||
|
LogText "Performing test ID ${TEST_NO} (${TEST_DESCRIPTION})"
|
||||||
|
if IsVerbose; then Debug "Performing test ID ${TEST_NO} (${TEST_DESCRIPTION})"; fi
|
||||||
|
fi
|
||||||
TESTS_EXECUTED="${TEST_NO}|${TESTS_EXECUTED}"
|
TESTS_EXECUTED="${TEST_NO}|${TESTS_EXECUTED}"
|
||||||
else
|
else
|
||||||
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Skipped test ${TEST_NO} ($TEST_DESCRIPTION)"; fi
|
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Skipped test ${TEST_NO} (${TEST_DESCRIPTION})"; fi
|
||||||
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Reason to skip: ${SKIPREASON}"; fi
|
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Reason to skip: ${SKIPREASON}"; fi
|
||||||
TESTS_SKIPPED="${TEST_NO}|${TESTS_SKIPPED}"
|
TESTS_SKIPPED="${TEST_NO}|${TESTS_SKIPPED}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue