mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
testing: Don't run do-tests when hosts are not running
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.
This commit is contained in:
parent
50dd7de226
commit
008a9ad12c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user