From 01b93d24c24bc7a52335c6fc4385aa4ea4e0dad2 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sep 18 2020 20:19:39 +0000 Subject: Look in the CentOS-Base or CentOS-Stream-BaseOS repo files for proper ID --- diff --git a/tests/p_centos-release/centos-release_centos-base_repos.sh b/tests/p_centos-release/centos-release_centos-base_repos.sh index 43b3b9c..049f3bb 100755 --- a/tests/p_centos-release/centos-release_centos-base_repos.sh +++ b/tests/p_centos-release/centos-release_centos-base_repos.sh @@ -3,6 +3,6 @@ t_Log "Running $0 - CentOS Base repos sanity test." -grep "name=CentOS" /etc/yum.repos.d/CentOS-Base.repo >/dev/null 2>&1 +grep "name=CentOS" /etc/yum.repos.d/CentOS*-Base*.repo >/dev/null 2>&1 t_CheckExitStatus $?