]> git.ipfire.org Git - thirdparty/strongswan.git/blame - testing/tests/swanctl/rw-psk-ikev1/pretest.dat
testing: Use renamed systemd unit
[thirdparty/strongswan.git] / testing / tests / swanctl / rw-psk-ikev1 / pretest.dat
CommitLineData
26d2011b
AS
1moon::iptables-restore < /etc/iptables.rules
2carol::iptables-restore < /etc/iptables.rules
3dave::iptables-restore < /etc/iptables.rules
4moon::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
5carol::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
6dave::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
35392aa8
TB
7moon::systemctl start strongswan
8carol::systemctl start strongswan
9dave::systemctl start strongswan
26d2011b
AS
10moon::expect-connection net-1
11moon::expect-connection net-2
12carol::expect-connection home
13carol::swanctl --initiate --child home 2> /dev/null
14dave::expect-connection home
15dave::swanctl --initiate --child home 2> /dev/null