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:
authorn[oO]ne <noone@silentrunners.de>2016-07-14 14:49:20 +0300
committerMichael Boelen <michael@cisofy.com>2016-07-14 14:49:20 +0300
commit8aeba9fa3d56a33e2b85e3f19c402107c2184141 (patch)
tree3762d82d2e5434fa533c2ddb236b790a7679a0aa
parent2abaefeb211ef87013b2b2f9d487c6ea24e70787 (diff)
fix: Test names are different. (#228)
After changes in 9aa5736 the test names are different. This results in something like BOOT-5122 = boot-5122 and skipped test aren't skipped anymore.
-rw-r--r--include/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index 49aa0e12..ccdc9180 100644
--- a/include/functions
+++ b/include/functions
@@ -1793,13 +1793,13 @@
# Skip test if it's configured in profile (old style)
if [ ${SKIPTEST} -eq 0 ]; then
- FIND=`echo "${TEST_SKIP_ALWAYS}" | grep "${TEST_NO}" | tr '[:upper:]' '[:lower:]'`
+ FIND=`echo "${TEST_SKIP_ALWAYS}" | grep "${TEST_NO}" | tr '[:lower:]' '[:upper:]'`
if [ ! "${FIND}" = "" ]; then SKIPTEST=1; SKIPREASON="Skipped by configuration"; fi
fi
# Check if this test is on the list to skip
if [ ${SKIPTEST} -eq 0 ]; then
- VALUE=`echo ${TEST_NO} | tr '[:upper:]' '[:lower:]'`
+ VALUE=`echo ${TEST_NO} | tr '[:lower:]' '[:upper:]'`
for I in ${SKIP_TESTS}; do
if [ "${I}" = "${VALUE}" ]; then SKIPTEST=1; SKIPREASON="Skipped by configuration (skip-test)"; fi
done