strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50dd7de
)
testing: Don't run do-tests when hosts are not running
author
Tobias Brunner
<tobias@strongswan.org>
Mon, 3 Aug 2015 11:34:05 +0000
(13:34 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Mon, 3 Aug 2015 11:34:05 +0000
(13:34 +0200)
running_any is satisfied if at least one host is running. We could
easily add a running_all() helper to check if all hosts are running if
it turns out that's not strong enough.
testing/do-tests
patch
|
blob
|
history
diff --git
a/testing/do-tests
b/testing/do-tests
index
5d72d5c
..
f121019
100755
(executable)
--- a/
testing/do-tests
+++ b/
testing/do-tests
@@
-23,6
+23,7
@@
SSHCONF="-F $DIR/ssh_config"
[ -d $DIR/tests ] || die "Directory 'tests' not found"
[ -d $BUILDDIR ] ||
die "Directory '$BUILDDIR' does not exist, please run make-testing first"
+running_any $STRONGSWANHOSTS || die "Please start test environment before running $0"
ln -sfT $DIR $TESTDIR/testing