[HTTP-6642] Test disabled

This commit is contained in:
Michael Boelen 2016-06-07 16:59:37 +02:00
parent 79cd9f0ff8
commit c88a2678f6
1 changed files with 15 additions and 14 deletions

View File

@ -330,20 +330,21 @@
#
# Test : HTTP-6642
# Description : Search for special Apache modules: Spamhaus
if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
Register --test-no HTTP-6642 --preqs-met ${PREQS_MET} --weight L --network NO --description "Determining existence of specific Apache modules"
if [ ${SKIPTEST} -eq 0 ]; then
# Check modules, module
CheckItem "apache_module" "/mod_spamhaus.so"
if [ ${ITEM_FOUND} -eq 1 ]; then
Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
AddHP 3 3
else
Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
AddHP 2 3
ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
fi
fi
# Notes : This test is outdated
#if [ ${APACHE_INSTALLED} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
#Register --test-no HTTP-6642 --preqs-met ${PREQS_MET} --weight L --network NO --description "Determining existence of specific Apache modules"
#if [ ${SKIPTEST} -eq 0 ]; then
# # Check modules, module
# CheckItem "apache_module" "/mod_spamhaus.so"
# if [ ${ITEM_FOUND} -eq 1 ]; then
# Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result FOUND --color GREEN
# AddHP 3 3
# else
# Display --indent 10 --text "mod_spamhaus: anti-spam (spamhaus)" --result "NOT FOUND" --color WHITE
# AddHP 2 3
# ReportSuggestion ${TEST_NO} "Install Apache mod_spamhaus to guard webserver against spammers"
# fi
#fi
#
#################################################################################
#