aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-07-15 16:52:52 +0200
committerTobias Brunner <tobias@strongswan.org>2015-07-15 16:53:37 +0200
commit170e8d141c232660e2c87766ec15faaaf56e67f3 (patch)
tree3d5e121e00c1241e2a33df90e5c23df556460ede /testing
parent390ae7a2c2f899122e722241cb261f53dfc81b9a (diff)
downloadstrongswan-170e8d141c232660e2c87766ec15faaaf56e67f3.tar.bz2
strongswan-170e8d141c232660e2c87766ec15faaaf56e67f3.tar.xz
testing: Do not attempt to start the test environment if hosts are still running
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/start-testing1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/start-testing b/testing/start-testing
index 83291de28..d339ac025 100755
--- a/testing/start-testing
+++ b/testing/start-testing
@@ -14,6 +14,7 @@ MCASTBRS="test-br0 test-br1"
echo "Starting test environment"
[ `id -u` -eq 0 ] || die "You must be root to run $0"
+running_any $STRONGSWANHOSTS && die "Please stop test environment before running $0"
check_commands kvm virsh