From nobody Thu Jan 11 04:52:10 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9XMZ55NDz56PRX; Thu, 11 Jan 2024 04:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9XMZ2mJ5z40Qg; Thu, 11 Jan 2024 04:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704948730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e8x4dxX/+gEgBJOWNsmEn9vueeWtiO0JQW99L/Vj1ik=; b=TPcn/qOoaQMz/XbV8ZYF1HqNTz9bVu5PKmnzaBCJnAERJfK6590RadxM/a/mhgnEnw7cnj jfRoQOqh37J28x4fBbN0J/vB0A8DEA00omPmIoHihOaxNjjRuRlJ9md5xYvklV+ZboMLJR Hed4+hy87GGFOsqvz8lZohQ8FZrVc5OVjTTP7na3BFRjFDkWsUq+0B92sXvgyTTLcChCeT LPWybfcCVNOYPoVl8dll2TyT1/b+TRvksGsb3WT7Vh+maj0tYl/tFfJrNHHe6QSdYezJEq o1pKt5gDK99gRWwolLBMUn7ExJEn/4jf34RHl1fJiucIO21OPgjlh41h1DwFbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704948730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e8x4dxX/+gEgBJOWNsmEn9vueeWtiO0JQW99L/Vj1ik=; b=eB6GOZ7KPqChU6GSZxCVVFGvYm4RTwtt2JPMlv5v3ACPAgcefZP56WczumXMaC5UXpKZ6D 75JUBi+Wt/8xAWhdyl3OJYaXE/euDxBz944mJqAdupeiHrBuK2NnOpySRAorZzjhyYHCaK NofEIessfNb4LxXhv39XnaZ0rzop28C9AFgAEEDnAcTftAJwN3b0VxXUw/E9k/sG4VWkuo apPrj3g+WAx6GJQkNngBE0Z8R0R3AvaeAD4CNq8Pcpi15X91cjrfAZ08z6GjBo7yluXcKt 3FYtxL2ZGhD/H+KMdxxFARmVWx/TgClJxS0IAPVYvrI6ReIchkkj9Um387qiDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704948730; a=rsa-sha256; cv=none; b=UsNSQSiTqlos2dT+2HKuhT6RTkN9GZixRzeqpXZ7G2AyVbOoMMtuW6gB87vHqwbWyaso7U nB2lP9mZ92p2yr2IX4EQsWq6q/IDHcasAUEuKJgwIOWVBjGJl0fV291OZj/dfq+91FA+nf JXhslCtfxmD4hcE6FwFwVaoJFzOfHVD/jScvBlfXLTnVMaw/W6Oa6mUvLjNzluuVtbDaKw CVytHnrnVp8RP7SwkQrhCoo/SGuWBH0n+AFCRTdfJg/1T64dHZE5aA2/il5gT1V3u2etHg jGGtCoNOADhhMyUWm0RBnXdRhhbWEIKNDq4HRw+LqUGkHYw02QmElaFkFljeFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T9XMZ1r8wz14lb; Thu, 11 Jan 2024 04:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40B4qAWF041467; Thu, 11 Jan 2024 04:52:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40B4qA5i041464; Thu, 11 Jan 2024 04:52:10 GMT (envelope-from git) Date: Thu, 11 Jan 2024 04:52:10 GMT Message-Id: <202401110452.40B4qA5i041464@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: effa0f6c0aad - main - tests/netlink: mark a test that requires tun(4) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: effa0f6c0aad54a07917af6986d71cd0a57223b8 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=effa0f6c0aad54a07917af6986d71cd0a57223b8 commit effa0f6c0aad54a07917af6986d71cd0a57223b8 Author: Gleb Smirnoff AuthorDate: 2024-01-11 04:51:53 +0000 Commit: Gleb Smirnoff CommitDate: 2024-01-11 04:51:53 +0000 tests/netlink: mark a test that requires tun(4) --- tests/sys/netlink/test_rtnl_route.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/sys/netlink/test_rtnl_route.py b/tests/sys/netlink/test_rtnl_route.py index 20f2c3ce3ee2..370c8a74a2de 100644 --- a/tests/sys/netlink/test_rtnl_route.py +++ b/tests/sys/netlink/test_rtnl_route.py @@ -48,6 +48,7 @@ class TestRtNlRoute(NetlinkTestTemplate, SingleVnetTestTemplate): @pytest.mark.timeout(5) def test_add_route6_ll_if_gw(self): + self.require_module("if_tun") tun_ifname = IfaceFactory().create_iface("", "tun")[0].name tun_ifindex = socket.if_nametoindex(tun_ifname) @@ -68,6 +69,7 @@ class TestRtNlRoute(NetlinkTestTemplate, SingleVnetTestTemplate): @pytest.mark.timeout(5) def test_add_route4_ll_if_gw(self): + self.require_module("if_tun") tun_ifname = IfaceFactory().create_iface("", "tun")[0].name tun_ifindex = socket.if_nametoindex(tun_ifname)