a6cbee7a98f2e5047d0fbbbe749ec26eaad41fc8
[strongswan.git] / testing / tests / sql / rw-eap-aka-rsa / pretest.dat
1 moon::rm /etc/ipsec.d/cacerts/*
2 carol::rm /etc/ipsec.d/cacerts/*
3 moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
4 carol::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
5 moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
6 carol::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
7 moon::iptables-restore < /etc/iptables.rules
8 carol::iptables-restore < /etc/iptables.rules
9 moon::ipsec start
10 carol::ipsec start
11 carol::expect-connection home
12 carol::ipsec up home