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:
Tobias Brunner committed 2015-11-09 15:18:35 +01:00
1 parent 747b64875f
commit f519acd42f
303 files changed
+500 -452

No files matched your search

+1 -1
View File
@@ -8,6 +8,6 @@ carol::cat /var/log/daemon.log::retransmit.*of request::YES
carol::cat /var/log/daemon.log::giving up after.*retransmits::YES
carol::iptables -D INPUT -i eth0 -s PH_IP_MOON -j DROP::no output expected::NO
moon:: iptables -D INPUT -i eth0 -s PH_IP_CAROL -j DROP::no output expected::NO
carol::sleep 1::no output expected::NO
carol::sleep 2::no output expected::NO
carol::ipsec status 2> /dev/null::home.*INSTALLED, TUNNEL::YES
moon:: ipsec status 2> /dev/null::rw.*INSTALLED, TUNNEL::YES
+1 -1
View File
@@ -1,4 +1,4 @@
moon::ipsec start
carol::ipsec start
carol::sleep 2
carol::expect-connection home
carol::ipsec up home