]> git.ipfire.org Git - thirdparty/strongswan.git/blame - testing/tests/tnc/tnccs-20-fail-init/pretest.dat
testing: Use renamed systemd unit
[thirdparty/strongswan.git] / testing / tests / tnc / tnccs-20-fail-init / pretest.dat
CommitLineData
883c11ca
AS
1moon::iptables-restore < /etc/iptables.rules
2carol::iptables-restore < /etc/iptables.rules
3dave::iptables-restore < /etc/iptables.rules
4moon::cat /etc/tnc_config
5carol::cat /etc/tnc_config
6dave::cat /etc/tnc_config
6aa77031
AS
7carol::rm /etc/swanctl/rsa/*
8dave::rm /etc/swanctl/rsa/*
9carol::rm /etc/swanctl/x509/*
10dave::rm /etc/swanctl/x509/*
35392aa8
TB
11moon::systemctl start strongswan
12carol::systemctl start strongswan
13dave::systemctl start strongswan
aacf84d8
TB
14moon::expect-connection rw-allow
15moon::expect-connection rw-isolate
f519acd4 16carol::expect-connection home
6aa77031 17carol::swanctl --initiate --child home 2> /dev/null
f519acd4 18dave::expect-connection home
6aa77031 19dave::swanctl --initiate --child home 2> /dev/null