aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev1/dynamic-two-peers/posttest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-06-18 17:50:54 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-06-18 17:50:54 +0000
commit571bca865b51a23549d5465a8f133bd398111e01 (patch)
tree5306dcca36166632e758f76cc1854d38f8492a5b /testing/tests/ikev1/dynamic-two-peers/posttest.dat
parent3b04350ab2b27d2d8876edc49a07d8285a69dafe (diff)
downloadstrongswan-571bca865b51a23549d5465a8f133bd398111e01.tar.bz2
strongswan-571bca865b51a23549d5465a8f133bd398111e01.tar.xz
added dynamic DNS scenarios
Diffstat (limited to 'testing/tests/ikev1/dynamic-two-peers/posttest.dat')
-rw-r--r--testing/tests/ikev1/dynamic-two-peers/posttest.dat10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/tests/ikev1/dynamic-two-peers/posttest.dat b/testing/tests/ikev1/dynamic-two-peers/posttest.dat
new file mode 100644
index 000000000..65292daae
--- /dev/null
+++ b/testing/tests/ikev1/dynamic-two-peers/posttest.dat
@@ -0,0 +1,10 @@
+carol::ipsec stop
+dave::ipsec stop
+moon::sleep 1
+moon::ipsec stop
+moon::mv /etc/hosts.ori /etc/hosts
+moon::/etc/init.d/iptables stop 2> /dev/null
+carol::/etc/init.d/iptables stop 2> /dev/null
+dave::/etc/init.d/iptables stop 2> /dev/null
+carol::ip addr del PH_IP_CAROL1/32 dev eth0
+dave::ip addr del PH_IP_DAVE1/32 dev eth0