summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/net2net-start/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/net2net-start/pretest.dat')
-rwxr-xr-xtesting/tests/swanctl/net2net-start/pretest.dat5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/swanctl/net2net-start/pretest.dat b/testing/tests/swanctl/net2net-start/pretest.dat
index 0560092c5..5528eb70f 100755
--- a/testing/tests/swanctl/net2net-start/pretest.dat
+++ b/testing/tests/swanctl/net2net-start/pretest.dat
@@ -1,9 +1,10 @@
sun::iptables-restore < /etc/iptables.rules
moon::iptables-restore < /etc/iptables.rules
sun::service charon start 2> /dev/null
-moon::service charon start 2> /dev/null
+moon::service charon start 2> /dev/null
+moon::sleep 1
sun::swanctl --load-creds 2> /dev/null
moon::swanctl --load-creds 2> /dev/null
sun::swanctl --load-conns 2> /dev/null
moon::swanctl --load-conns 2> /dev/null
-moon::sleep 1
+moon::sleep 1