From 0140dbcc1880844c6907b1eb5ca7a3c0be197148 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Nov 29 2013 17:04:29 +0000 Subject: only get architecture when required for the test --- diff --git a/tests/p_lftp/10_lftp_http_test.sh b/tests/p_lftp/10_lftp_http_test.sh index 7f3b1f6..cbe1e9e 100755 --- a/tests/p_lftp/10_lftp_http_test.sh +++ b/tests/p_lftp/10_lftp_http_test.sh @@ -6,7 +6,6 @@ # Christoph Galuschka t_Log "Running $0 - lftp: HTTP test" -ARCH=$(t_GetArch) if [ $SKIP_QA_HARNESS -eq 1 ]; then CHECK_FOR="UTC" @@ -14,6 +13,7 @@ if [ $SKIP_QA_HARNESS -eq 1 ]; then FILE="timestamp.txt" else CHECK_FOR="CentOS" + ARCH=$(t_GetArch) if [ $ARCH == "i686" ]; then URL="http://repo.centos.qa/srv/CentOS/6/os/i386/" else