selftests: pmtu: disable DAD in all namespaces
authorPaolo Abeni <pabeni@redhat.com>
Mon, 25 Feb 2019 15:08:36 +0000 (16:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 05:28:59 +0000 (21:28 -0800)
commit651eb32e569e50564803891cf2a8d22e49e979a5
treedd4ec8410bb10ee902d4d967ced2abb0eee1c2c0
parent72a7d452b0f09dcd5d3e18cff1e3839f8b1acc1f
selftests: pmtu: disable DAD in all namespaces

Otherwise, the configured IPv6 address could be still "tentative"
at test time, possibly causing tests failures.
We can also drop some sleep along the code and decrease the
timeout for most commands so that the test runtime decreases.

v1 -> v2:
 - fix comment (Stefano)

Fixes: d1f1b9cbf34c ("selftests: net: Introduce first PMTU test")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh