From 0bf06d5a5265b69618e2f030579825e853b8ffe0 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 27 2019 21:16:26 +0000 Subject: Make apache debranding check case insensitive (C8 uses centos instead of CentOS) --- diff --git a/tests/p_httpd/httpd_centos_brand_server_tokens.sh b/tests/p_httpd/httpd_centos_brand_server_tokens.sh index 14cf3f8..e81f35b 100755 --- a/tests/p_httpd/httpd_centos_brand_server_tokens.sh +++ b/tests/p_httpd/httpd_centos_brand_server_tokens.sh @@ -3,6 +3,6 @@ t_Log "Running $0 - httpd: centos branding / Server tokens value " -curl -sI http://localhost/ | grep "Server:\ Apache.*\ (CentOS)" > /dev/null 2>&1 +curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (CentOS)" > /dev/null 2>&1 t_CheckExitStatus $?