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