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:
-rw-r--r--include/profiles5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/profiles b/include/profiles
index ecf73e55..be18781d 100644
--- a/include/profiles
+++ b/include/profiles
@@ -241,7 +241,7 @@
# Which tests to skip (skip-test=ABCD-1234 or skip-test=ABCD-1234:subtest)
skip-test)
- STRING=`echo ${VALUE} | tr '[:upper:]' '[:lower:]'`
+ STRING=`echo ${VALUE} | tr '[:lower:]' '[:upper:]'`
SKIP_TESTS="${SKIP_TESTS} ${STRING}"
;;
@@ -353,7 +353,7 @@
# Deprecated: skip tests
test_skip_always)
- STRING=`echo ${VALUE} | tr '[:upper:]' '[:lower:]'`
+ STRING=`echo ${VALUE} | tr '[:lower:]' '[:upper:]'`
SKIP_TESTS="${SKIP_TESTS} ${STRING}"
LogText "[deprecated option] Tests to be skipped: ${VALUE}"
DisplayToolTip "Replace deprecated option 'test_skip_always' and replace with 'skip-test' (add to custom.prf)"
@@ -384,6 +384,7 @@
#
#################################################################################
#
+ SKIP_TESTS=$(echo ${SKIP_TESTS} | sed "s/^ //")
LogText "Skip tests: ${SKIP_TESTS}"
#
#################################################################################