From ad914209647805032d4678a61c081b5febd2273d Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Aug 20 2015 04:54:59 +0000 Subject: Modified the curl test to follow redirect (if remote website redirect to https, like for www.centos.org now) --- diff --git a/tests/p_curl/curl_test.sh b/tests/p_curl/curl_test.sh index 22f3eac..f5e85b7 100755 --- a/tests/p_curl/curl_test.sh +++ b/tests/p_curl/curl_test.sh @@ -14,6 +14,6 @@ else fi t_Log "Querying ${URL}" -curl -s ${URL} | grep -q "${CHECK_FOR}" +curl --location -s ${URL} | grep -q "${CHECK_FOR}" t_CheckExitStatus $?