From 917e7a070686ca80045471206915a821978cf5a4 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 27 2013 19:31:08 +0000 Subject: test used wrong arch in qa-harness --- 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