[F/G/H/Unstable][SRU][PATCH 0/1] selftests: test_vxlan_under_vrf: mute unnecessary error message
Po-Hsu Lin
po-hsu.lin at canonical.com
Wed Dec 16 04:22:02 UTC 2020
[Impact]
The cleanup function in the selftests/net/test_vxlan_under_vrf.sh
script that tries to delete hv-1 / hv-2 and vm-1 / vm-2 netns will
generate some unnecessary error messages:
Cannot remove namespace file "/run/netns/hv-2": No such file or directory
Cannot remove namespace file "/run/netns/vm-1": No such file or directory
Cannot remove namespace file "/run/netns/vm-2": No such file or directory
Redirect it to /dev/null like other commands in the cleanup function
to reduce confusion.
[Fix]
* 0e12c0271887f1 ("selftests: test_vxlan_under_vrf: mute unnecessary error message")
This script exists in selftests/net since Focal, and this patch can be
cherry-picked into all affected series.
[Test]
Run this script directly, these unnecessary error message won't be
printed anymore.
[Where problems could occur]
As this change is quite straightforward, I don't think anything bad
would happen. And even it did happen, this change is limited to testing
tool so it should be fine.
Po-Hsu Lin (1):
selftests: test_vxlan_under_vrf: mute unnecessary error message
tools/testing/selftests/net/test_vxlan_under_vrf.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.7.4
More information about the kernel-team
mailing list