diff options
author | mboelen <michael@cisofy.com> | 2015-12-21 23:17:15 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-12-21 23:17:15 +0300 |
commit | d16b38eff83a8dca405e21e1c34205289f3d0832 (patch) | |
tree | d9db1eac3d4ead003f0e1b4fbfbabf0ddeb66c1e /include/tests_custom.template | |
parent | 83a44827e03543146e39c37c33f14ebca6f40a29 (diff) |
Rename of logtext and report functions, upcoming year change
Diffstat (limited to 'include/tests_custom.template')
-rw-r--r-- | include/tests_custom.template | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tests_custom.template b/include/tests_custom.template index 73cbc9ff..972bf017 100644 --- a/include/tests_custom.template +++ b/include/tests_custom.template @@ -5,7 +5,7 @@ # Lynis # ------------------ # -# Copyright 2007-2015, Michael Boelen, CISOfy (michael.boelen@cisofy.com) +# Copyright 2007-2016, Michael Boelen, CISOfy (michael.boelen@cisofy.com) # Web site: https://cisofy.com # # Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are @@ -58,17 +58,17 @@ # If everything is fine, perform test if [ ${SKIPTEST} -eq 0 ]; then FOUND=0 - logtext "Test: checking something" + LogText "Test: checking something" if [ ${FOUND} -eq 0 ]; then Display --indent 4 --text "- Performing custom test" --result OK --color GREEN - logtext "Result: the test result looks great!" + LogText "Result: the test result looks great!" # Optional: create a suggestion after a specific finding #ReportSuggestion "${TEST_NO}" "This is my suggestion to improve the system even further." else Display --indent 4 --text "- Performing custom test" --result WARNING --color RED - logtext "Result: this test had a bad result :(" + LogText "Result: this test had a bad result :(" # Throw a warning to the screen and report ReportWarning ${TEST_NO} "M" "This is a warning message" fi @@ -82,4 +82,4 @@ wait_for_keypress # #================================================================================ -# Lynis - Copyright 2007-2015, Michael Boelen, CISOfy - https://cisofy.com +# Lynis - Copyright 2007-2016, Michael Boelen, CISOfy - https://cisofy.com |