From 152975d258ff51fcc37e28ff8ac41e2a35775425 Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Fri, 1 May 2015 21:33:55 +0000 Subject: [PATCH] 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 --- tests/install_test_deps.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tests/install_test_deps.sh diff --git a/tests/install_test_deps.sh b/tests/install_test_deps.sh new file mode 100755 index 00000000..ac665068 --- /dev/null +++ b/tests/install_test_deps.sh @@ -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