testing: Add expect-connection calls for all tests and hosts
There are some exceptions (e.g. those that use auto=start or p2pnat).
This commit is contained in:
@@ -4,5 +4,6 @@ sun::cd /etc/swanctl; rm x509/* x509ca/*
|
||||
moon::cd /etc/swanctl; rm x509/* x509ca/*
|
||||
sun::service charon start 2> /dev/null
|
||||
moon::service charon start 2> /dev/null
|
||||
sun::expect-connection gw-gw
|
||||
moon::expect-connection gw-gw
|
||||
moon::swanctl --initiate --child net-net 2> /dev/null
|
||||
|
||||
@@ -2,6 +2,8 @@ moon::iptables-restore < /etc/iptables.rules
|
||||
carol::iptables-restore < /etc/iptables.rules
|
||||
moon::service charon start 2> /dev/null
|
||||
carol::service charon start 2> /dev/null
|
||||
moon::expect-connection icmp
|
||||
moon::expect-connection ssh
|
||||
carol::expect-connection icmp
|
||||
carol::expect-connection ssh
|
||||
carol::swanctl --initiate --child icmp 2> /dev/null
|
||||
|
||||
@@ -2,6 +2,9 @@ moon::iptables-restore < /etc/iptables.rules
|
||||
carol::iptables-restore < /etc/iptables.rules
|
||||
moon::service charon start 2> /dev/null
|
||||
carol::service charon start 2> /dev/null
|
||||
moon::expect-connection icmp-req
|
||||
moon::expect-connection icmp-rep
|
||||
moon::expect-connection ftp-ssh
|
||||
carol::expect-connection icmp-req
|
||||
carol::expect-connection icmp-rep
|
||||
carol::expect-connection ftp-ssh
|
||||
|
||||
Reference in New Issue
Block a user