]> git.ipfire.org Git - thirdparty/systemd.git/commit - test/test-network/systemd-networkd-tests.py
test-network: simplify wait_online() by calling wait_operstate() 13927/head
authorDan Streetman <ddstreet@canonical.com>
Wed, 8 Jan 2020 12:32:19 +0000 (07:32 -0500)
committerDan Streetman <ddstreet@canonical.com>
Thu, 9 Jan 2020 20:19:19 +0000 (15:19 -0500)
commit0c020321c83e6f09834ae5be57a2a3c3acf1427a
treecb017ee55f6f09d6cb350afafe31aacf27d26201
parenta4632dc7d131a4ec41b6d59b8ab5e592ad72f346
test-network: simplify wait_online() by calling wait_operstate()

The wait_operstate() function now rechecks the condition for a timeout,
so the wait_online() function can simply call it to check for the
setup_state.
test/test-network/systemd-networkd-tests.py