]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: lib: Split out setup_wait_dev()
authorPetr Machata <petrm@mellanox.com>
Thu, 28 Jun 2018 16:56:20 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 11:34:09 +0000 (20:34 +0900)
commit727d7ccdc8ec015d63905eb0919479fea7b658ee
tree14645a1289b5e74ea5f04728a776b5ce9ecf8826
parent6743159b07c8e5385f785c078576e8d7dd1e631d
selftests: forwarding: lib: Split out setup_wait_dev()

Split out of setup_wait() a function setup_wait_dev() that waits for a
single device. This gives tests the opportunity to wait for a selected
device after they tinkered with its upness.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh