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:
authormboelen <michael@cisofy.com>2016-04-25 16:49:00 +0300
committermboelen <michael@cisofy.com>2016-04-25 16:49:00 +0300
commitba0381a7754052e068e05040ccf3d6abe4863864 (patch)
tree1112225480f7a39cf40ea9728ee6d87a98550835 /include/profiles
parentc02ab08b50ce71fbcd503b6b472574f4d9bd5dc5 (diff)
Lowercase all tests when using them in comparisons
Diffstat (limited to 'include/profiles')
-rw-r--r--include/profiles3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/profiles b/include/profiles
index 75bd5cfd..f811d96b 100644
--- a/include/profiles
+++ b/include/profiles
@@ -184,7 +184,8 @@
# Which tests to skip (skip-test=ABCD-1234 or skip-test=ABCD-1234:subtest)
skip-test)
- SKIP_TESTS="${SKIP_TESTS} ${VALUE}"
+ STRING=`echo ${VALUE} | tr '[:upper:]' '[:lower:]'`
+ SKIP_TESTS="${SKIP_TESTS} ${STRING}"
;;
# Tests to always skip (useful for false positives or problematic tests)