divided ipsec.sql into tables.sql and data.sql
[strongswan.git] / testing / tests / sql / rw-cert / 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 /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
5 carol::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
6 dave::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
7 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
8 carol::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
9 dave::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
10 moon::/etc/init.d/iptables start 2> /dev/null
11 carol::/etc/init.d/iptables start 2> /dev/null
12 dave::/etc/init.d/iptables start 2> /dev/null
13 moon::ipsec start
14 carol::ipsec start
15 dave::ipsec start
16 carol::sleep 1
17 carol::ipsec up home
18 dave::ipsec up home