aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/build-strongswan
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/build-strongswan')
-rwxr-xr-xtesting/scripts/build-strongswan1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/scripts/build-strongswan b/testing/scripts/build-strongswan
index 69cb833cd..c52dddda8 100755
--- a/testing/scripts/build-strongswan
+++ b/testing/scripts/build-strongswan
@@ -12,6 +12,7 @@ SWANDIR=${1:+$(readlink -f $1)}
[ `id -u` -eq 0 ] || die "You must be root to run $0"
[ -f "$BASEIMG" ] || die "Base image $BASEIMG not found"
[ -f "$ROOTIMG" ] || die "Root image $ROOTIMG not found"
+running_any $STRONGSWANHOSTS && die "Please stop test environment before running $0"
[ -f $SWANDIR/src/libstrongswan/asn1/oid.txt ] || die "strongSwan not found in $SWANDIR"