From b8f8ea28392d34e1c021309dfac0306e2e0ddcb0 Mon Sep 17 00:00:00 2001 From: OpenStack Proposal Bot Date: Thu, 18 Jul 2019 22:18:54 +0000 Subject: [PATCH] Updated from OpenStack Ansible Tests Change-Id: I60fde829ec9bf56fb9748f6c4917071114ae9496 --- run_tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index cd30a60..3129599 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -65,7 +65,10 @@ case ${ID,,} in esac # Install git so that we can clone the tests repo if git is not available -which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git +case ${ID,,} in + gentoo) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" dev-vcs/git ;; + *) which git &>/dev/null || eval sudo "${pkg_mgr_cmd}" git ;; +esac # Clone the tests repo for access to the common test script if [[ ! -d "${COMMON_TESTS_PATH}" ]]; then @@ -92,4 +95,3 @@ fi # Execute the common test script source tests/common/run_tests_common.sh -