aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/dynamic-two-peers/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2012-06-08 21:52:20 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2012-06-08 21:52:20 +0200
commitd9e1b4c033c6cf0e98798be7baa1d7fc6febb70f (patch)
tree91a7434ebfafa74c2ab0f268b94d295377a74f21 /testing/tests/ikev2/dynamic-two-peers/pretest.dat
parent68f3e2462ab3fc145a8643fd5d99ebf70a75ab50 (diff)
downloadstrongswan-d9e1b4c033c6cf0e98798be7baa1d7fc6febb70f.tar.bz2
strongswan-d9e1b4c033c6cf0e98798be7baa1d7fc6febb70f.tar.xz
added ikev2/dynamic-two-peers scenario
Diffstat (limited to 'testing/tests/ikev2/dynamic-two-peers/pretest.dat')
-rw-r--r--testing/tests/ikev2/dynamic-two-peers/pretest.dat12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tests/ikev2/dynamic-two-peers/pretest.dat b/testing/tests/ikev2/dynamic-two-peers/pretest.dat
new file mode 100644
index 000000000..6596a2527
--- /dev/null
+++ b/testing/tests/ikev2/dynamic-two-peers/pretest.dat
@@ -0,0 +1,12 @@
+moon::mv /etc/hosts /etc/hosts.ori
+moon::mv /etc/hosts.stale /etc/hosts
+moon::/etc/init.d/iptables start 2> /dev/null
+carol::/etc/init.d/iptables start 2> /dev/null
+dave::/etc/init.d/iptables start 2> /dev/null
+carol::ipsec start
+dave::ipsec start
+moon::ipsec start
+carol::sleep 2
+carol::ipsec up moon
+dave::ipsec up moon
+carol::sleep 1