Files
openstack-ansible-os_nova/run_tests.sh
Major Hayden 9ef1ecf16e Update and clean up run_tests.sh
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: I7c9dfa6be9221ef861e97c9abadde3d3a1a94622
Signed-off-by: Major Hayden <major@mhtx.net>
2017-01-06 16:52:24 +00:00

2.1 KiB
Executable File