]> git.itanic.dy.fi Git - linux-stable/commit
selftests/net: convert netns-name.sh to run it in unique namespace
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 19 Dec 2023 09:48:50 +0000 (17:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Dec 2023 00:26:32 +0000 (00:26 +0000)
commitf6476dedf08ded43bb9fb98ae634c2a1c56fdc06
treed70785029cf3acb4befbdbceb5a170a3958c595a
parentb84c2faeb986c73956fa897d14d2ecbc405abe08
selftests/net: convert netns-name.sh to run it in unique namespace

This test will move the device to netns 1. Add a new test_ns to do this.
Here is the test result after conversion.

 # ./netns-name.sh
 netns-name.sh                           [  OK  ]

Acked-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/netns-name.sh