From 170e8d141c232660e2c87766ec15faaaf56e67f3 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 15 Jul 2015 16:52:52 +0200 Subject: [PATCH] testing: Do not attempt to start the test environment if hosts are still running --- testing/start-testing | 1 + 1 file changed, 1 insertion(+) 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