diff options
Diffstat (limited to 'testing/tests/swanctl/rw-eap-aka-sql-rsa/pretest.dat')
-rw-r--r-- | testing/tests/swanctl/rw-eap-aka-sql-rsa/pretest.dat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/tests/swanctl/rw-eap-aka-sql-rsa/pretest.dat b/testing/tests/swanctl/rw-eap-aka-sql-rsa/pretest.dat new file mode 100644 index 000000000..3842250e6 --- /dev/null +++ b/testing/tests/swanctl/rw-eap-aka-sql-rsa/pretest.dat @@ -0,0 +1,10 @@ +moon::iptables-restore < /etc/iptables.rules +carol::iptables-restore < /etc/iptables.rules +carol::cd /etc/ipsec.d; cat tables.sql data.sql > ipsec.sql; cat ipsec.sql | sqlite3 ipsec.db +moon::cd /etc/ipsec.d; cat tables.sql data.sql > ipsec.sql; cat ipsec.sql | sqlite3 ipsec.db +carol::cd /etc/swanctl; rm rsa/* x509/* +moon::service charon start 2> /dev/null +carol::service charon start 2> /dev/null +moon::expect-connection rw-eap +carol::expect-connection home +carol::swanctl --initiate --child home 2> /dev/null |