]> Git Repo - linux.git/commit
selftests/net: convert rtnetlink.sh to run it in unique namespace
authorHangbin Liu <[email protected]>
Tue, 19 Dec 2023 09:48:51 +0000 (17:48 +0800)
committerDavid S. Miller <[email protected]>
Sat, 23 Dec 2023 00:26:32 +0000 (00:26 +0000)
commitd3b6b1116127123c15b85ce1ccd5f6d2d3317925
treea57199f87a47e6078fcd1b47b959c25bb9c6495c
parentf6476dedf08ded43bb9fb98ae634c2a1c56fdc06
selftests/net: convert rtnetlink.sh to run it in unique namespace

When running the test in namespace, the debugfs may not load automatically.
So add a checking to make sure debugfs loaded. Here is the test result
after conversion.

 # ./rtnetlink.sh
 PASS: policy routing
 PASS: route get
 ...
 PASS: address proto IPv4
 PASS: address proto IPv6

Acked-by: David Ahern <[email protected]>
Signed-off-by: Hangbin Liu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/net/rtnetlink.sh
This page took 0.042507 seconds and 4 git commands to generate.