e820c81a2d0248bae200a2916427e88ff82534ce
[strongswan.git] / testing / tests / sql / ip-split-pools-db / 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::ipsec pool --status 2> /dev/null
11 moon::ipsec start
12 carol::ipsec start
13 dave::ipsec start
14 carol::expect-connection home
15 carol::ipsec up home
16 dave::expect-connection home
17 dave::ipsec up home