Updated from OpenStack Ansible Tests

Change-Id: I2385f55a92396e3222c0a441231a2393156d8e9c
This commit is contained in:
OpenStack Proposal Bot 2019-07-18 22:19:42 +00:00
parent b576febdaa
commit cbec1db0c3
1 changed files with 4 additions and 2 deletions

View File

@ -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