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