summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/ip-pool-db/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/ip-pool-db/posttest.dat')
-rwxr-xr-xtesting/tests/swanctl/ip-pool-db/posttest.dat11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/tests/swanctl/ip-pool-db/posttest.dat b/testing/tests/swanctl/ip-pool-db/posttest.dat
new file mode 100755
index 000000000..2644b3941
--- /dev/null
+++ b/testing/tests/swanctl/ip-pool-db/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::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+dave::iptables-restore < /etc/iptables.flush
+moon::ipsec pool --del big_pool 2> /dev/null
+moon::ipsec pool --del dns 2> /dev/null
+moon::ipsec pool --del nbns 2> /dev/null