aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/sql/ip-pool-db-restart/posttest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-05-20 18:30:39 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-05-20 18:30:39 +0000
commit59495f8ae2e5d6938c22b57b46460b74f60eea27 (patch)
treeab61e6e9e02097ec2ee18267a24a7e0ddc0f84be /testing/tests/sql/ip-pool-db-restart/posttest.dat
parent49aeafc5028f8b2473a8e2d2c7661627936ac8f8 (diff)
downloadstrongswan-59495f8ae2e5d6938c22b57b46460b74f60eea27.tar.bz2
strongswan-59495f8ae2e5d6938c22b57b46460b74f60eea27.tar.xz
added the sql/ip-pool-db-restart and sql/ip-pool-db-expired scenarios
Diffstat (limited to 'testing/tests/sql/ip-pool-db-restart/posttest.dat')
-rw-r--r--testing/tests/sql/ip-pool-db-restart/posttest.dat10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/tests/sql/ip-pool-db-restart/posttest.dat b/testing/tests/sql/ip-pool-db-restart/posttest.dat
new file mode 100644
index 000000000..d4d57ad83
--- /dev/null
+++ b/testing/tests/sql/ip-pool-db-restart/posttest.dat
@@ -0,0 +1,10 @@
+moon::ipsec stop
+carol::ipsec stop
+dave::ipsec stop
+moon::/etc/init.d/iptables stop 2> /dev/null
+carol::/etc/init.d/iptables stop 2> /dev/null
+dave::/etc/init.d/iptables stop 2> /dev/null
+moon::rm /etc/ipsec.d/ipsec.*
+carol::rm /etc/ipsec.d/ipsec.*
+dave::rm /etc/ipsec.d/ipsec.*
+~