testing: Remove nearly all sleep calls from pretest and posttest scripts
By consistently using the `expect-connection` helper we can avoid pretty much all previously needed calls to sleep.
This commit is contained in:
@@ -13,7 +13,7 @@ alice::chgrp www-data /etc/pts/config.db; chmod g+w /etc/pts/config.db
|
||||
alice::/var/www/tnc/manage.py setpassword strongSwan strongSwan
|
||||
alice::service apache2 start
|
||||
alice::ipsec start
|
||||
alice::sleep 1
|
||||
alice::expect-connection aaa
|
||||
winnetou::ip route add 10.1.0.0/16 via 192.168.0.1
|
||||
dave::ip route add 10.1.0.0/16 via 192.168.0.1
|
||||
dave::cat /etc/pts/options
|
||||
@@ -21,4 +21,3 @@ dave::ipsec pt-tls-client --optionsfrom /etc/pts/options
|
||||
carol::ip route add 10.1.0.0/16 via 192.168.0.1
|
||||
carol::cat /etc/pts/options
|
||||
carol::ipsec pt-tls-client --optionsfrom /etc/pts/options
|
||||
carol::sleep 1
|
||||
|
||||
Reference in New Issue
Block a user