aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/config-payload/pretest.dat
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2017-11-10 17:21:40 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2017-11-11 16:41:15 +0100
commit70dc5bb8adadd44a157e69a4d5afc97f93019310 (patch)
tree38d236bdb26b11fa4d85197efcb474d6b04f7c6a /testing/tests/swanctl/config-payload/pretest.dat
parent65f74cd13da3d9cc852db1637ec61ce019ec1815 (diff)
downloadstrongswan-70dc5bb8adadd44a157e69a4d5afc97f93019310.tar.bz2
strongswan-70dc5bb8adadd44a157e69a4d5afc97f93019310.tar.xz
testing: Converted swanctl to systemd
Diffstat (limited to 'testing/tests/swanctl/config-payload/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/config-payload/pretest.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/swanctl/config-payload/pretest.dat b/testing/tests/swanctl/config-payload/pretest.dat
index 9c281d032..706c08b5f 100755
--- a/testing/tests/swanctl/config-payload/pretest.dat
+++ b/testing/tests/swanctl/config-payload/pretest.dat
@@ -2,9 +2,9 @@ moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
moon::cat /etc/swanctl/swanctl_base.conf
-moon::service charon start 2> /dev/null
-carol::service charon start 2> /dev/null
-dave::service charon start 2> /dev/null
+moon::systemctl start strongswan-swanctl
+carol::systemctl start strongswan-swanctl
+dave::systemctl start strongswan-swanctl
moon::expect-connection rw-carol
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null