used ipsec pool --leases --filter option in evaltest.dat
[strongswan.git] / testing / tests / sql / net2net-cert / pretest.dat
1 moon::rm /etc/ipsec.d/cacerts/*
2 sun::rm /etc/ipsec.d/cacerts/*
3 moon::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
4 sun::cat /etc/ipsec.d/tables.sql /etc/ipsec.d/data.sql > /etc/ipsec.d/ipsec.sql
5 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
6 sun::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
7 moon::/etc/init.d/iptables start 2> /dev/null
8 sun::/etc/init.d/iptables start 2> /dev/null
9 moon::ipsec start
10 sun::ipsec start
11 moon::sleep 1 
12 moon::ipsec up net-net