summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/dynamic-two-peers/posttest.dat
diff options
context:
space:
mode:
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