forked from openstack/openstack-ansible-os_ironic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The run_tests.sh script fails when it is run multiple times on CentOS. The `bindep` run returns an empty list of packages and then `yum` exits with an error since no packages were provided to install. This patch checks the length of the `bindep` output and skips the `yum` installation when the package list is empty. The patch also cleans up some of the old cruft left over from previous scripts and avoids repetition. Change-Id: Idddbe91d736198fa6c98b81a125a818e68657b18 Signed-off-by: Major Hayden <[email protected]>
- Loading branch information
Showing
1 changed file
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters