summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/ip-two-pools/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/ip-two-pools/posttest.dat')
-rwxr-xr-xtesting/tests/swanctl/ip-two-pools/posttest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/swanctl/ip-two-pools/posttest.dat b/testing/tests/swanctl/ip-two-pools/posttest.dat
new file mode 100755
index 000000000..0cfeeb120
--- /dev/null
+++ b/testing/tests/swanctl/ip-two-pools/posttest.dat
@@ -0,0 +1,8 @@
+carol::swanctl --terminate --ike home
+alice::swanctl --terminate --ike home
+carol::systemctl stop strongswan-swanctl
+alice::systemctl stop strongswan-swanctl
+moon::systemctl stop strongswan-swanctl
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+alice::iptables-restore < /etc/iptables.flush