diff options
author | Laurent Quillerou <laurent.quillerou@gmail.com> | 2015-09-07 18:35:07 +0300 |
---|---|---|
committer | Laurent Quillerou <laurent.quillerou@gmail.com> | 2015-09-07 18:35:07 +0300 |
commit | 3cdd9ea949379a8ad06daa06e739d1e65e4a52bc (patch) | |
tree | 50e15f4295d2df22c014f2c81b90e8b15c705a14 /include/tests_webservers | |
parent | a90d225bf4ea02e8483810f60efb51ae5ef18c1a (diff) |
Delete trailing whitespace
Diffstat (limited to 'include/tests_webservers')
-rw-r--r-- | include/tests_webservers | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/tests_webservers b/include/tests_webservers index 51a8d528..b630c7a3 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -194,9 +194,9 @@ # # Configuration specific tests # SERVERTOKENSFOUND=0 # APACHE_CONFIGFILES="${APACHE_CONFIGFILE} /usr/local/etc/apache22/extra/httpd-default.conf /etc/apache2/sysconfig.d/global.conf" -# +# # for APACHE_CONFIGFILE in ${APACHE_CONFIGFILES}; do -# if [ -f ${APACHE_CONFIGFILE} ]; then +# if [ -f ${APACHE_CONFIGFILE} ]; then # # Check if option ServerTokens is configured # SERVERTOKENSTEST=`cat ${APACHE_CONFIGFILE} | grep ServerTokens | grep -v '^#'` # if [ ! "${SERVERTOKENSTEST}" = "" ]; then @@ -215,17 +215,17 @@ # else # Display --indent 4 --text "- Checking option ServerTokens" --result "NOT FOUND" --color WHITE # fi -# +# # else # # File does not exist, skipping # logtext "File ${APACHE_CONFIGFILE} does not exist, so skipping tests on this file" # fi # done -# +# # # Display results from checks # if [ ${SERVERTOKENSFOUND} -eq 1 ]; then # Display --indent 6 --text "- Value of ServerTokens" --result OK --color GREEN -# else +# else # Display --indent 6 --text "- Value of ServerTokens" --result WARNING --color RED # ReportWarning ${TEST_NO} "M" "Value of 'ServerTokens' in Apache config is different than template" # fi |