From f92b3effd0531f8a23d80cfe6525d8109f4c5b60 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Aug 01 2019 15:21:45 +0000 Subject: Added language to curl request for correct test and language display with curl Signed-off-by: Fabian Arrotin --- diff --git a/tests/p_httpd/httpd_servehtml.sh b/tests/p_httpd/httpd_servehtml.sh index a429900..80325b2 100755 --- a/tests/p_httpd/httpd_servehtml.sh +++ b/tests/p_httpd/httpd_servehtml.sh @@ -3,6 +3,6 @@ t_Log "Running $0 - httpd: serve html page" -curl -s http://localhost/ | grep 'Test Page' > /dev/null 2>&1 +curl -H 'Accept-Language: en' -s http://localhost/ | grep 'Test Page' > /dev/null 2>&1 t_CheckExitStatus $? diff --git a/tests/p_httpd/httpd_servehtml_ssl.sh b/tests/p_httpd/httpd_servehtml_ssl.sh index 97ac530..a37699e 100755 --- a/tests/p_httpd/httpd_servehtml_ssl.sh +++ b/tests/p_httpd/httpd_servehtml_ssl.sh @@ -3,6 +3,6 @@ t_Log "Running $0 - httpd: serve html page over SSL " -curl -ks https://localhost/ | grep 'Test Page' > /dev/null 2>&1 +curl -H 'Accept-Language: en' -ks https://localhost/ | grep 'Test Page' > /dev/null 2>&1 t_CheckExitStatus $?