From 953e60069c8ad3853ce7de4d8c45cfd4f888c57d Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Apr 25 2019 19:24:47 +0000 Subject: enable the ability to run test on CentOSPlus --- diff --git a/tests/0_common/000_centos_default_repos.py b/tests/0_common/000_centos_default_repos.py index 2572d67..6892dcd 100755 --- a/tests/0_common/000_centos_default_repos.py +++ b/tests/0_common/000_centos_default_repos.py @@ -18,8 +18,15 @@ try: except KeyError: fasttrack = 0 +try: + centosplus = int(os.environ['CENTOSPLUS']) +except KeyError: + centosplus = 0 + if fasttrack: centos_default_repos = ['base','extras','updates','cr','fasttrack','centos-kernel'] +elif centosplus: + centos_default_repos = ['base','extras','updates','cr','centosplus','centos-kernel'] else: centos_default_repos = ['base','extras','updates','cr','centos-kernel']