From 48a27c710d0e6d1ecef692acd0319420c9c2b0a5 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Jul 30 2019 07:34:06 +0000 Subject: Adding first test to skip all tests if we can't even install one single pkg Signed-off-by: Fabian Arrotin --- diff --git a/README.md b/README.md index 5236a69..88b5ed4 100644 --- a/README.md +++ b/README.md @@ -31,4 +31,6 @@ Questions/comments/suggestions should be voiced in the #centos-devel channel on ## Disabling tests While it's a very bad idea, sometimes , during major.minor release, our scripts really find issues that are then repored upstream. -For the time being, one can add tests to be skipped by our QA harness setup (validating all new installable trees)See the [skipped-tests.list](skipped-tests.list) file. +For the time being, one can add tests to be skipped by our QA harness setup (validating all new installable trees) + +See the [skipped-tests.list](skipped-tests.list) file. diff --git a/runtests.sh b/runtests.sh index 38fa79d..0785249 100755 --- a/runtests.sh +++ b/runtests.sh @@ -7,6 +7,12 @@ echo -e "\n[+] `date` -> CentOS QA $0 starting." yum -d0 -y install bind-utils +if [ "$?" -ne "0" ] ;then + echo "[+] ERROR : not even able to install bind-utils pkg so all t_functional tests will fail" + echo "[+] Do we have enabled repositories with correct GPG settings and signed pkgs ?" + exit 1 +fi + host repo.centos.qa > /dev/null export SKIP_QA_HARNESS=$?