cirrus: Don't explicitly install openldap*-client on FreeBSD
[strongswan.git] / testing / tests / sql / ip-pool-db-restart / 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 moon::ipsec pool --leases 2> /dev/null
8 carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
9 dave::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
10 moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
11 moon::iptables-restore < /etc/iptables.rules
12 carol::iptables-restore < /etc/iptables.rules
13 dave::iptables-restore < /etc/iptables.rules
14 moon::systemctl start strongswan
15 carol::systemctl start strongswan
16 dave::systemctl start strongswan
17 moon::expect-connection rw
18 dave::expect-connection home
19 dave::swanctl --initiate --child home 2> /dev/null
20 carol::expect-connection home
21 carol::swanctl --initiate --child home 2> /dev/null