From nobody Fri Nov 06 19:54:53 2026 X-Original-To: dev-commits-src-branches@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 4jLqdp2kPPz6yf4R for ; Fri, 06 Nov 2026 19:54:54 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jLqdn6wkBz4Fbj for ; Fri, 06 Nov 2026 19:54:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793994894; 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=fhuU/3arUpUtW+MCa/Cl0Bp8xrIrW1QbncuKhvSKbuE=; b=k5da0BFWFc8gyLLaJBmDYd8wmj4VJDx3QqTLVHvyu32R/I6Ud622jA6Bpa/Ylw8BvXO8wC DXOi06A3e4kxWYFdmnhX+g6noTRPBlX26w9nSVtq0rGvbyDA1xCcAj1qd2PAy8Sl231mM7 i/oaoJOwnoALrY3iNye7tbqJJ9/bPX3XEDs5A/LP7rBAKf7GW6erRgYg1xILpZmCirnWML ZfoPvYTiECoUr4Qfb9Zpnsd/3WuTU9GqKes4vO4qonbgqrq3+Xk9Ihx1SoLmWCHcw1bW5V ohgz1QARNgHiI4gTtN4H67qtHUbOwcPOkvNraJPqh9CG8ItjspnleM4lp89UvA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793994894; b=eRjciy+JnKOVBGH/WmNZ2zBJIhgwJ/X6WXLKtlJRZWZHCAZVK1lr4LhlfxBbG1gHxlCz4M XMYtT2W0ngFWHkQQnB4ifBQEvEy9gejYaqk8aQx7d+jO5PcdBMG7GhVMCOOJbfg1bHwN0+ Pz0C01RFf1Vi/r4/WBPlUAs/L6dT3l5sqqR4hSkRQhPVgTC7etazfXdOmnYaSSIWm78AHZ crnPR99DlsfuF9WPKYxpi5VMPUAriQBsOIpKUCUb7VdxdKR81b95gCJ8JSmpY6ztrUr2r/ 6i+xDpAr3WpCSxrTTMdPpCYEdR4IwcjbB67UqKZWSxO3NV05qj2XU8MfjxDBog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793994894; 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=fhuU/3arUpUtW+MCa/Cl0Bp8xrIrW1QbncuKhvSKbuE=; b=Io+FCEV8OEJLecYQbJmNGNuMGnNKbbD8OIEAksiM07w3MfdOJ8RKLRO8k5pwTGdTig91OB NUFYEayxVKPdDpeRTmbZJZ1fej8gRR1ierqM4C+ji1VQ5D03JwwqkiFmCIl/xyzXnjYBmS A18UiMv1GfqMmZR9pn01NjyC9AICpPl7MzKA3HsS4aa10DNcuT3XzztMQI8Bn+ERDmLklP hi2w28oz7uiKjBpQ6kjPfJ2iY48bzPGnu9UH/TGGnQ21DJqqHzFbd+tszzI5Z6PJJWX2qw SJ/dA1GHOLsHJoH54rfoiKxcQtdGaPk/1x+cjnKT18SmxD7vDYDAa3NMLGScUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jLqdn6bjKzrmn for ; Fri, 06 Nov 2026 19:54:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d930 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 06 Nov 2026 19:54:53 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: c5b902b6c194 - stable/15 - tests/dhclient: Skip tests if scapy is not installed List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: c5b902b6c194d384c57fb9b997fa14fcf351916c Auto-Submitted: auto-generated Date: Fri, 06 Nov 2026 19:54:53 +0000 Message-Id: <6aee308d.1d930.78cfb626@gitrepo.freebsd.org> The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c5b902b6c194d384c57fb9b997fa14fcf351916c commit c5b902b6c194d384c57fb9b997fa14fcf351916c Author: Mark Johnston AuthorDate: 2026-10-28 20:26:44 +0000 Commit: Mark Johnston CommitDate: 2026-11-06 15:52:19 +0000 tests/dhclient: Skip tests if scapy is not installed Fixes: a143197801c6 ("dhclient: Add some regression tests") (cherry picked from commit 8fa55fdcae4ecbd2ec13ef91cc9d172095e21189) --- sbin/dhclient/tests/functional.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sbin/dhclient/tests/functional.py b/sbin/dhclient/tests/functional.py index 205bd11a76ef..518d1050aba7 100644 --- a/sbin/dhclient/tests/functional.py +++ b/sbin/dhclient/tests/functional.py @@ -20,8 +20,6 @@ def mac_to_chaddr(mac_str): return mac_bytes + b"\x00" * (16 - len(mac_bytes)) - - class TestDhclient(VnetTestTemplate): _SERVER_IP = "192.0.2.1" _CLIENT_IP = "192.0.2.10" @@ -169,6 +167,7 @@ class TestDhclient(VnetTestTemplate): ) @pytest.mark.require_user("root") + @pytest.mark.require_progs(["scapy"]) def test_classless_routes_truncated(self): """ Verify that dhclient rejects a DHCPOFFER containing a truncated @@ -198,6 +197,7 @@ class TestDhclient(VnetTestTemplate): assert "inet {}".format(self._CLIENT_IP) in result["ifconfig"] @pytest.mark.require_user("root") + @pytest.mark.require_progs(["scapy"]) def test_filename_backslash(self): """ Verify that backslashes in the BOOTP filename don't cause the @@ -212,6 +212,7 @@ class TestDhclient(VnetTestTemplate): assert "inet {}".format(self._CLIENT_IP) in result["ifconfig"] @pytest.mark.require_user("root") + @pytest.mark.require_progs(["scapy"]) def test_sname_valid(self): """ Verify that a valid server name is preserved in the lease file. @@ -225,6 +226,7 @@ class TestDhclient(VnetTestTemplate): assert "dhcp.example.com" in result["lease"] @pytest.mark.require_user("root") + @pytest.mark.require_progs(["scapy"]) def test_sname_quote(self): """ Verify that a double quote in the BOOTP server name causes the