Skip to content

Run tests forcely in separated netns

Vadim Kochan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: Run each test in network namespacetestsuite/Makefile+6 -10 replies
2/2tests: Add test for 'ip route add default'testsuite/tests/ip/route/add_default_route.t+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute2 0/2] Run tests forcely in separated netns

From: Vadim Kochan <[email protected]>

Changed to run each test in separated network namespace by using 'unshare' tool from util-linux tools set, it allows to do not affect network setup on the host machine, 'unshare' tool is required by default.

Also added test which checks already fixed BUG related to adding default route.

Vadim Kochan (2):
tests: Run each test in network namespace
tests: Add test for 'ip route add default'

 testsuite/Makefile                           |  7 ++++++-
 testsuite/tests/ip/route/add_default_route.t | 12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
 create mode 100755 testsuite/tests/ip/route/add_default_route.t
Signature · 1 line
2.3.1