diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-07-15 16:52:52 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-07-15 16:53:37 +0200 |
commit | 170e8d141c232660e2c87766ec15faaaf56e67f3 (patch) | |
tree | 3d5e121e00c1241e2a33df90e5c23df556460ede /testing | |
parent | 390ae7a2c2f899122e722241cb261f53dfc81b9a (diff) | |
download | strongswan-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-x | testing/start-testing | 1 |
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 |