aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-umlhostfs
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2012-12-09 09:49:04 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:54:54 +0100
commitb24d3ed5fc5ad891d7d210bba9b94dbe0a1468ff (patch)
treef62e508f4e1e8514def5e845d82d73204afb6f10 /testing/scripts/build-umlhostfs
parentf241f46d88f06393e8dd4e8f0a9a444c7f9c2059 (diff)
downloadstrongswan-b24d3ed5fc5ad891d7d210bba9b94dbe0a1468ff.tar.bz2
strongswan-b24d3ed5fc5ad891d7d210bba9b94dbe0a1468ff.tar.xz
Test availability of required commands
Diffstat (limited to 'testing/scripts/build-umlhostfs')
-rwxr-xr-xtesting/scripts/build-umlhostfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/scripts/build-umlhostfs b/testing/scripts/build-umlhostfs
index 1028ef266..f53410385 100755
--- a/testing/scripts/build-umlhostfs
+++ b/testing/scripts/build-umlhostfs
@@ -26,6 +26,8 @@ HOSTSDIR=$PWD/hosts
[ -f $BASE ] || die "Base image $BASE not found"
[ -f $HOSTDIR ] || die "Hosts directory $HOSTSDIR not found"
+check_commands qemu-img qemu-nbd
+
load_qemu_nbd
mkdir -p $BUILDDIR