aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/acert-fallback/posttest.dat
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-02-07 11:51:08 +0100
committerMartin Willi <martin@revosec.ch>2014-03-31 11:14:59 +0200
commitbabd8487786c2f6f0bb32cad990dcee275b79a7d (patch)
tree709b61aa8401dd477ed28e14aacf489a26275ae5 /testing/tests/ikev2/acert-fallback/posttest.dat
parent1a4d3222be0a47c90b482bdd241c6c7e377b5e4d (diff)
downloadstrongswan-babd8487786c2f6f0bb32cad990dcee275b79a7d.tar.bz2
strongswan-babd8487786c2f6f0bb32cad990dcee275b79a7d.tar.xz
testing: Add an acert test that forces a fallback connection based on groups
Diffstat (limited to 'testing/tests/ikev2/acert-fallback/posttest.dat')
-rw-r--r--testing/tests/ikev2/acert-fallback/posttest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ikev2/acert-fallback/posttest.dat b/testing/tests/ikev2/acert-fallback/posttest.dat
new file mode 100644
index 000000000..2ccb86a41
--- /dev/null
+++ b/testing/tests/ikev2/acert-fallback/posttest.dat
@@ -0,0 +1,8 @@
+moon::ipsec stop
+carol::ipsec stop
+moon::iptables-restore < /etc/iptables.flush
+carol::iptables-restore < /etc/iptables.flush
+carol::rm /etc/ipsec.d/acerts/carol-sales.pem
+carol::rm /etc/ipsec.d/acerts/carol-finance-expired.pem
+moon::rm /etc/ipsec.d/private/aa.pem
+moon::rm /etc/ipsec.d/aacerts/aa.pem