]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix back-to-back runs of sys/netinet/fibs_test;slaac_on_nondefault_fib6
authorasomers <asomers@FreeBSD.org>
Mon, 20 Mar 2017 23:07:34 +0000 (23:07 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 20 Mar 2017 23:07:34 +0000 (23:07 +0000)
commit580f71232e4241a7cc532629f0b117a3edc4ab32
tree23b14b219cbcc7f576aed51a28b14c8d1640ff64
parent3758fe1240cc1c0a724bc23385fa2c7fdb40c5d3
Fix back-to-back runs of sys/netinet/fibs_test;slaac_on_nondefault_fib6

This test was failing if run twice because rtadvd takes too long to die.
The rtadvd process from the first run was still running when the
second run created its interfaces.  The solution is to use SIGKILL during
the cleanup instead of SIGTERM so rtadvd will die faster.

While I'm here, randomize the addresses used for the test, which makes bugs
like this easier to spot, and fix the cleanup order to be the opposite of
the setup order

PR: 217871
MFC after: 18 days
X-MFC-With: 315458
Sponsored by: Spectra Logic Corp
tests/sys/netinet/fibs_test.sh