From a09abc0e6263bfad304e434c5666beed4b881410 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Jul 07 2014 20:52:32 +0000 Subject: test now queries timestamp.txt in and outside of QA-harness. no longer testing ffor release notes, as the tree for C7 no longer contains this file. --- diff --git a/tests/p_lftp/10_lftp_http_test.sh b/tests/p_lftp/10_lftp_http_test.sh index cbe1e9e..ac93251 100755 --- a/tests/p_lftp/10_lftp_http_test.sh +++ b/tests/p_lftp/10_lftp_http_test.sh @@ -3,25 +3,19 @@ # Author: Munish Kumar # Author: Ayush Gupta # Author: Konark Modi -# Christoph Galuschka +# Christoph Galuschka t_Log "Running $0 - lftp: HTTP test" if [ $SKIP_QA_HARNESS -eq 1 ]; then - CHECK_FOR="UTC" URL="http://mirror.centos.org/" - 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 - URL="http://repo.centos.qa/srv/CentOS/6/os/x86_64/" - fi - FILE="RELEASE-NOTES-en-US.html" + URL="http://repo.centos.qa/srv/CentOS/" fi +CHECK_FOR="UTC" +FILE="timestamp.txt" + t_Log "Querying ${URL}${FILE}" lftp <