[HTTP-6642] Test disabled

This commit is contained in:
Michael Boelen 2016-06-07 16:59:37 +02:00
parent 79cd9f0ff8
commit c88a2678f6

View File

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