git: 982fe5803470 - stable/13 - testing: fix skipping netlink tests if netlink module is not loaded.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Jan 2023 22:12:20 UTC
The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=982fe580347015eff723b751535fe31c2055ff20 commit 982fe580347015eff723b751535fe31c2055ff20 Author: Alexander V. Chernikov <melifaro@FreeBSD.org> AuthorDate: 2023-01-08 19:51:26 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> CommitDate: 2023-01-23 22:09:04 +0000 testing: fix skipping netlink tests if netlink module is not loaded. (cherry picked from commit 9408f36627b74a472dc82f7a43320235c0c9055a) --- tests/sys/netlink/test_rtnl_iface.py | 2 +- tests/sys/netlink/test_rtnl_ifaddr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/netlink/test_rtnl_iface.py b/tests/sys/netlink/test_rtnl_iface.py index 8660051be8e2..7cff592b1676 100644 --- a/tests/sys/netlink/test_rtnl_iface.py +++ b/tests/sys/netlink/test_rtnl_iface.py @@ -20,7 +20,7 @@ from atf_python.sys.net.netlink import NlRtMsgType from atf_python.sys.net.vnet import SingleVnetTestTemplate -class TestRtNlIface(SingleVnetTestTemplate, NetlinkTestTemplate): +class TestRtNlIface(NetlinkTestTemplate, SingleVnetTestTemplate): def setup_method(self, method): super().setup_method(method) self.setup_netlink(NlConst.NETLINK_ROUTE) diff --git a/tests/sys/netlink/test_rtnl_ifaddr.py b/tests/sys/netlink/test_rtnl_ifaddr.py index 5574644f7b2f..bd1c55e268e7 100644 --- a/tests/sys/netlink/test_rtnl_ifaddr.py +++ b/tests/sys/netlink/test_rtnl_ifaddr.py @@ -15,7 +15,7 @@ from atf_python.sys.net.netlink import RtScope from atf_python.sys.net.vnet import SingleVnetTestTemplate -class TestRtNlIfaddr(SingleVnetTestTemplate, NetlinkTestTemplate): +class TestRtNlIfaddr(NetlinkTestTemplate, SingleVnetTestTemplate): def setup_method(self, method): method_name = method.__name__ if "4" in method_name: