[Swan-dev] [Swan-commit] Changes to ref refs/heads/master
andrew.cagney at gmail.com
Wed Feb 3 16:57:53 UTC 2016
I got annoyed at my favourite test, and others, failing occasionally
for no reason other than my machine also being busy building yet
another embedded linux distro :-/ Assuming this seems reasonable we
can start sprinkling this pixie dust on other tests (like I've been
doing with also=slow-retransmits).
It changes this the expected output to:
diff --git a/testing/pluto/ikev2-50-propnum/west.console.txt
index c81528b..2f0d569 100644
@@ -2,15 +2,8 @@
# confirm that the network is alive
- ping -n -c 4 -I 220.127.116.11 192.0.2.254
+ ../../pluto/bin/wait-until-online 192.0.2.254 -I 18.104.22.168
+192.0.2.254 -I 22.214.171.124 is online
# make sure that clear text does not get through
If things do go wrong it will do this:
$ ./testing/pluto/bin/wait-until-online 192.168.16.2
ping -n -c 1 -w 4 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
>From 192.168.15.1 icmp_seq=1 Destination Host Unreachable
--- 192.168.16.2 ping statistics ---
3 packets transmitted, 0 received, +1 errors, 100% packet loss, time 1999ms
192.168.16.2 is offline
(perhaps it should be re-painted wait-until-alive :-)
On 3 February 2016 at 11:41, Andrew Cagney <cagney at vault.libreswan.fi> wrote:
> New commits:
> commit 683d2611427b128cbef06641039de46b67f7bbfb
> Author: Andrew Cagney <cagney at gnu.org>
> Date: Wed Jan 20 15:14:04 2016 -0500
> testing: add testing/pluto/bin/wait-until-online
> Prints "HOST is online" provided HOST comes online within 4 seconds.
> That way the output is predictable when things are a little slow.
> Use in ikev2-50-propnum, run version from current directory tree, not /testing.
> Swan-commit mailing list
> Swan-commit at lists.libreswan.org
More information about the Swan-dev