From c88a2678f62cdef1cf8b6c51f5765f88aca0c859 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 7 Jun 2016 16:59:37 +0200 Subject: [PATCH] [HTTP-6642] Test disabled --- include/tests_webservers | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/include/tests_webservers b/include/tests_webservers index 6c16319d..c824d0aa 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -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 # ################################################################################# #