Add install_test_deps script

This is useful for users and for CI so we do not have to chase infra for
changes when dependency issues arise.

Change-Id: I7c8bdaddfe316ae171b34164f99bc3d568eafd92
This commit is contained in:
Gregory Haynes 2015-05-01 21:33:55 +00:00
parent f2a893b74c
commit 152975d258
1 changed files with 8 additions and 0 deletions

8
tests/install_test_deps.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y qemu-utils kpartx || \
sudo yum -y install qemu-img kpartx