diff --git a/tests/p_lftp/10_lftp_http_test.sh b/tests/p_lftp/10_lftp_http_test.sh index 0cb8a2f..7f3b1f6 100755 --- a/tests/p_lftp/10_lftp_http_test.sh +++ b/tests/p_lftp/10_lftp_http_test.sh @@ -6,13 +6,19 @@ # Christoph Galuschka t_Log "Running $0 - lftp: HTTP test" +ARCH=$(t_GetArch) + if [ $SKIP_QA_HARNESS -eq 1 ]; then CHECK_FOR="UTC" URL="http://mirror.centos.org/" FILE="timestamp.txt" else CHECK_FOR="CentOS" - URL="http://repo.centos.qa/srv/CentOS/6/os/x86_64/" + if [ $ARCH == "i686" ]; then + URL="http://repo.centos.qa/srv/CentOS/6/os/i386/" + else + URL="http://repo.centos.qa/srv/CentOS/6/os/x86_64/" + fi FILE="RELEASE-NOTES-en-US.html" fi