]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-network: wait for all addresses and routes configured before start monitoring
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Jun 2025 21:23:09 +0000 (06:23 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 27 Jun 2025 10:30:33 +0000 (11:30 +0100)
commitd63c8ce020e553b355025c40e8ef725abcadf604
tree5adef76207d69c2df3b541a4e486fd5f9e7cb1ac
parent318c4f7b810e8271b9a418fba9a526ff28a942ca
test-network: wait for all addresses and routes configured before start monitoring

Otherwise, kernel may announce configuration of an address or route
after 'ip monitor' is started.

This also makes the test check if the whole output of 'ip monitor' is
empty. Otherwise, if the test fails, it is hard to find what is wrong.

Follow-ups for 912a48572de1411cff2964452e0d7a021b43921f and
bcb9e72b6bf57d6d2aec581fedc4a33d6d826e2f.

Fixes #37982.
test/test-network/systemd-networkd-tests.py