summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat')
-rw-r--r--testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat b/testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat
new file mode 100644
index 000000000..e3d7998a9
--- /dev/null
+++ b/testing/tests/ikev2/rw-eap-aka-sql-rsa/pretest.dat
@@ -0,0 +1,9 @@
+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
+moon::ipsec start
+carol::ipsec start
+moon::expect-connection rw-eap
+carol::expect-connection home
+carol::ipsec up home