summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-pubkey/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/net2net-pubkey/posttest.dat')
-rw-r--r--testing/tests/swanctl/net2net-pubkey/posttest.dat7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/swanctl/net2net-pubkey/posttest.dat b/testing/tests/swanctl/net2net-pubkey/posttest.dat
new file mode 100644
index 000000000..c2227a5dd
--- /dev/null
+++ b/testing/tests/swanctl/net2net-pubkey/posttest.dat
@@ -0,0 +1,7 @@
+moon::swanctl --terminate --ike gw-gw 2> /dev/null
+moon::service charon stop 2> /dev/null
+sun::service charon stop 2> /dev/null
+moon::iptables-restore < /etc/iptables.flush
+sun::iptables-restore < /etc/iptables.flush
+moon::rm /etc/swanctl/pubkey/*
+sun::rm /etc/swanctl/pubkey/*