Version bump to 5.9.2
[strongswan.git] / testing / tests / sql / rw-psk-ipv6 / pretest.dat
1 moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
2 carol::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
3 dave::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
4 moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
5 carol::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
6 dave::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
7 carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
8 dave::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
9 moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
10 moon::iptables-restore < /etc/iptables.rules
11 carol::iptables-restore < /etc/iptables.rules
12 dave::iptables-restore < /etc/iptables.rules
13 moon::ip6tables-restore < /etc/ip6tables.rules
14 carol::ip6tables-restore < /etc/ip6tables.rules
15 dave::ip6tables-restore < /etc/ip6tables.rules
16 alice::"ip route add fec0:\:/16 via fec1:\:1"
17 carol::"ip route add fec1:\:/16 via fec0:\:1"
18 dave::"ip route add fec1:\:/16 via fec0:\:1"
19 moon::systemctl start strongswan
20 carol::systemctl start strongswan
21 dave::systemctl start strongswan
22 moon::expect-connection rw
23 carol::expect-connection home
24 carol::swanctl --initiate --child home 2> /dev/null
25 dave::expect-connection home
26 dave::swanctl --initiate --child home 2> /dev/null