aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/tnc/tnccs-20-client-retry/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2015-11-23 21:35:16 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2015-12-11 18:26:54 +0100
commit6aa770312231401f91bd2049b311c81078c128c2 (patch)
tree000766c39e7a7c56532473fd41a1a9ea8b878362 /testing/tests/tnc/tnccs-20-client-retry/pretest.dat
parent74270c8c86ac8a25e7d70ee84b1686afdce32776 (diff)
downloadstrongswan-6aa770312231401f91bd2049b311c81078c128c2.tar.bz2
strongswan-6aa770312231401f91bd2049b311c81078c128c2.tar.xz
testing: Converted tnc scenarios to swanctl
Diffstat (limited to 'testing/tests/tnc/tnccs-20-client-retry/pretest.dat')
-rw-r--r--testing/tests/tnc/tnccs-20-client-retry/pretest.dat14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/tests/tnc/tnccs-20-client-retry/pretest.dat b/testing/tests/tnc/tnccs-20-client-retry/pretest.dat
index 85622034d..c8ab14343 100644
--- a/testing/tests/tnc/tnccs-20-client-retry/pretest.dat
+++ b/testing/tests/tnc/tnccs-20-client-retry/pretest.dat
@@ -4,10 +4,14 @@ dave::iptables-restore < /etc/iptables.rules
moon::cat /etc/tnc_config
carol::cat /etc/tnc_config
dave::cat /etc/tnc_config
-moon::ipsec start
-carol::ipsec start
-dave::ipsec start
+carol::rm /etc/swanctl/rsa/*
+dave::rm /etc/swanctl/rsa/*
+carol::rm /etc/swanctl/x509/*
+dave::rm /etc/swanctl/x509/*
+moon::service charon start
+carol::service charon start
+dave::service charon start
carol::expect-connection home
-carol::ipsec up home
+carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
-dave::ipsec up home
+dave::swanctl --initiate --child home 2> /dev/null