travis: Build on ARM64, IBM Power and IBM Z architectures
[strongswan.git] / testing / tests / sql / net2net-route-pem / pretest.dat
1 moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
2 sun::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
3 moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
4 sun::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
5 moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
6 sun::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
7 moon::iptables-restore < /etc/iptables.rules
8 sun::iptables-restore < /etc/iptables.rules
9 moon::systemctl start strongswan
10 sun::systemctl start strongswan
11 moon::expect-connection net-net
12 alice::ping -c 1 -W 1 10.2.0.10
13 bob::ping -c 1 -W 1 10.1.0.20