testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / rw-eap-ttls-only / pretest.dat
1 moon::iptables-restore < /etc/iptables.rules
2 carol::iptables-restore < /etc/iptables.rules
3 dave::iptables-restore < /etc/iptables.rules
4 carol::cd /etc/swanctl; rm rsa/* x509/*
5 dave::cd /etc/swanctl; rm rsa/* x509/*
6 moon::systemctl start strongswan-swanctl
7 carol::systemctl start strongswan-swanctl
8 dave::systemctl start strongswan-swanctl
9 moon::expect-connection rw-eap
10 carol::expect-connection home
11 carol::swanctl --initiate --child home 2> /dev/null
12 dave::expect-connection home
13 dave::swanctl --initiate --child home 2> /dev/null