From 12b8ec2f58f2e59e08d9bbe4bd7f36b6380872cb Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Tue, 13 Oct 2020 11:01:32 +0300 Subject: [PATCH] tests: Fail if python36 is installed. Closes #794 --- schutzbot/ci_details.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/schutzbot/ci_details.sh b/schutzbot/ci_details.sh index cbba79448..73f16456a 100755 --- a/schutzbot/ci_details.sh +++ b/schutzbot/ci_details.sh @@ -37,6 +37,13 @@ echo "List of installed packages:" rpm -qa | sort echo "------------------------------------------------------------------------------" +if rpm --quiet -q python36; then + echo -e "\n FAIL: python36 is installed, see #794 ..." + exit 1 +else + echo -e "\n PASS: python36 not insalled" +fi + # Ensure cloud-init has completely finished on the instance. This ensures that # the instance is fully ready to go. while true; do