git: 2d49ff1e21a7 - main - tests/netlink: mark the vlan(4) test with required module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Oct 2023 05:22:06 UTC
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=2d49ff1e21a74b8f641752b63a59dc3ef9e38ddc commit 2d49ff1e21a74b8f641752b63a59dc3ef9e38ddc Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2023-10-19 05:21:53 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2023-10-19 05:21:53 +0000 tests/netlink: mark the vlan(4) test with required module --- tests/sys/netlink/test_rtnl_iface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/netlink/test_rtnl_iface.py b/tests/sys/netlink/test_rtnl_iface.py index d34e36ee8eef..41cb4d16de94 100644 --- a/tests/sys/netlink/test_rtnl_iface.py +++ b/tests/sys/netlink/test_rtnl_iface.py @@ -317,6 +317,7 @@ class TestRtNlIface(NetlinkTestTemplate, SingleVnetTestTemplate): @pytest.mark.require_user("root") def test_create_vlan_plain(self): """Creates 802.1Q VLAN interface in vlanXX and ifX fashion""" + self.require_module("if_vlan") os_ifname = self.vnet.iface_alias_map["if1"].name ifindex = socket.if_nametoindex(os_ifname)