Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2023 05:22:06 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2d49ff1e21a7 - main - tests/netlink: mark the vlan(4) test with required module
Message-ID:  <202310190522.39J5M6Ln073746@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310190522.39J5M6Ln073746>