diff --git a/tests/p_wget/wget_test.sh b/tests/p_wget/wget_test.sh index b0bec69..bd1a6c7 100755 --- a/tests/p_wget/wget_test.sh +++ b/tests/p_wget/wget_test.sh @@ -6,16 +6,16 @@ t_Log "Running $0 - wget can access http-host and download index.html." FILE=/var/tmp/index.html if [ $SKIP_QA_HARNESS ]; then - HOST=wiki.centos.org + URL=http://wiki.centos.org/ CHECK_FOR="FrontPage - CentOS Wiki" else - HOST=repo.centos.qa + URL=http://repo.centos.qa/srv/CentOS/ # athmane: could you please insert something here that is returned from qa-host CHECK_FOR="CentOS" fi t_Log "Querying http://${HOST}" -wget -q --output-document=${FILE} http://${HOST}/ +wget -q --output-document=${FILE} http://${URL} grep -q "${CHECK_FOR}" ${FILE} ret_val=$?