added sql/net2net-route-pem scenario
[strongswan.git] / testing / tests / sql / net2net-route-pem / 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 %startall
13 sun::ipsec up %startall
14 alice::ping -c 1 PH_IP_BOB
15 bob::ping -c 1 PH_IP_VENUS