]> 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)
commitf400162a1599e5a5d3b3bd5f8741da400d659af1
tree14645a1289b5e74ea5f04728a776b5ce9ecf8826
parent769228d135b18add8cd4e852b8961a0531b4c7af
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