summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/config-payload/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/config-payload/posttest.dat')
-rwxr-xr-xtesting/tests/swanctl/config-payload/posttest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/swanctl/config-payload/posttest.dat b/testing/tests/swanctl/config-payload/posttest.dat
new file mode 100755
index 000000000..d7107ccc6
--- /dev/null
+++ b/testing/tests/swanctl/config-payload/posttest.dat
@@ -0,0 +1,8 @@
+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::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+dave::iptables-restore < /etc/iptables.flush