]> git.ipfire.org Git - thirdparty/openvpn.git/commit
t_client.sh: ignore fields from "ip -6 route show" output that distort results.
authorGert Doering <gert@greenie.muc.de>
Sun, 24 Nov 2013 16:13:04 +0000 (17:13 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 24 Nov 2013 18:52:33 +0000 (19:52 +0100)
commit8c19087034cb1076874075b9e2896ea3f7be59cf
tree635f750a8401cd4a7fecc8bbc315ae2e61e4996c
parent500c16f319e21ae9590a2207d0b518f8e57abdde
t_client.sh: ignore fields from "ip -6 route show" output that distort results.

"ip -6 route show" prints stuff like "rtt 38ms rttvar 38ms cwnd 10", which
sometimes changes while an OpenVPN test is running, resulting in spurious
failures in the "ifconfig/route must be restored identically after
OpenVPN ends" test in t_client.sh.  Not all fields are there all the time,
so use "sed" to get rid of whatever is printed this time.

Only relevant for "make check" on linux builds with "--enable-iproute2".

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1385309584-23209-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8047
tests/t_client.sh.in