mirror of https://github.com/CISOfy/lynis.git
Uppercase tests: detect them properly as atomic tests.
This commit is contained in:
parent
d23e4b0fa5
commit
f9a4348f10
|
@ -2454,7 +2454,7 @@
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
# Check if this test is on the list to skip
|
# Check if this test is on the list to skip
|
||||||
for I in ${SKIP_TESTS}; do
|
for I in ${SKIP_TESTS}; do
|
||||||
STRING=`echo $1 | tr '[:upper:]' '[:lower:]'`
|
STRING=`echo $1 | tr '[:lower:]' '[:upper:]'`
|
||||||
if [ "${I}" = "${STRING}" ]; then RETVAL=0; LogText "Atomic test ($1) skipped by configuration (skip-test)"; fi
|
if [ "${I}" = "${STRING}" ]; then RETVAL=0; LogText "Atomic test ($1) skipped by configuration (skip-test)"; fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue