From nobody Mon Feb 16 19:47:30 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 4fFCwf2VmMz6SFyd for ; Mon, 16 Feb 2026 19:47:30 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fFCwf1BLvz3p4P for ; Mon, 16 Feb 2026 19:47:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771271250; 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=6V9O/KB0nNmQTPpVdOIU5wKBSWEKuGc8qOjl4EbLxEw=; b=SUFt0BRUijXaXXOPS24BqGGBwIQHg5okRkN4Pno8nGHePon4il+VRSNpqgSRx5FxPtMR7d oBVotKwAKaKAnYQ4reiwablr7dEuQTfqfwqq3tABNoxJhJitOM39iLoOFt7fShIs5SMhuu 7vHSdx2x4TKUUyI1avw3jz2GC5Gvinf0GUNjbJruJYJP+ztP+ATmpF82cX5GCtUwNFunHH DT9JkWVu49/WVdphPFEZMbXCNgWaD9fAAS0JFS1rhtIY2OWlKRmJE3IF4ottz291uRo2Wu 8y4HAgq2T0bxi3bHtnKIWzIki6g872j9gwQ839jKIqz1d3f3pkYaqNgEwqGV0A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771271250; a=rsa-sha256; cv=none; b=uQWsiKBxnW67u+BcZkxJdNBCGEcySuWCMmSGECXkNoewlOSzjrV9Qahgk6BTPhJjgfJdqp ln6PplbpNQS8bqiHt+BfAFseSzh5Bbzv4cqmD1Dm9Qvj5A48+QNnzAziyIJ7dv/5sYTheX ZFs56pcvyrj133bQTlhzD4jgeDrGcEamhexFgp+KsFqb1ekPCtn5LHj50FA7ov1j1mVrk3 N2UPO4A18dgX2KYtCW+zeIYDveHA1ADBO41ZEgyGj55pI0u5YLFtpI7KgeLWMMbT8FcY+r OIQK5MJx6bTgeamG75RoUqZnNC8JMMV4aDo7bwQWmi6x6Hmsh1WFjuKleIRVUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771271250; 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=6V9O/KB0nNmQTPpVdOIU5wKBSWEKuGc8qOjl4EbLxEw=; b=bKXXNKeTroX3Beb+aLJs5/l+9jWwmWcL+aWGaodpgb3S7U3pzidjvztIad7owSdL0fDeXf qaUr8Qmbf6xnhOy8mkUYLDFvsWNLWVzJ0q9NuOnckI57J63hzt/LDCKp9QFABeuya/nQMd oe7Mi9E86GWveTVBwUbUTMZfeZ++Fti1W8L1BZshrJDMxUOsW236EoP0xOweh0OTOSfPXo 8Xxat7ecWKri84/xBGkGiIdymBu9njwYlLU6wgUN84n0fFgGXvzCj434M6JxGAVt+d4vZA kEW2fvGkfa5Z56q4kT/MUJPuDVVc2EHWcA1tk4mSaEaEcGBhTyZZY/eV8F8sFA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fFCwf0mbzzdlK for ; Mon, 16 Feb 2026 19:47:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40d7c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 16 Feb 2026 19:47:30 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 8845df6a4caa - stable/14 - atf_python: Run vnet handlers in $HOME List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org 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/14 X-Git-Reftype: branch X-Git-Commit: 8845df6a4caa08a0ae52eedfcf177b1b53a1057a Auto-Submitted: auto-generated Date: Mon, 16 Feb 2026 19:47:30 +0000 Message-Id: <69937452.40d7c.30aa259c@gitrepo.freebsd.org> The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=8845df6a4caa08a0ae52eedfcf177b1b53a1057a commit 8845df6a4caa08a0ae52eedfcf177b1b53a1057a Author: Mark Johnston AuthorDate: 2026-02-02 14:52:43 +0000 Commit: Mark Johnston CommitDate: 2026-02-16 16:09:28 +0000 atf_python: Run vnet handlers in $HOME When kyua runs a test, it creates a temp directory and sets $HOME to point to it. Tests are run with the cwd set to that temp directory. When a process attaches to a jail, its cwd is set to the root of the jail. Modify atf_python to cd to $HOME instead, so that it's easier for tests to share files. Reviewed by: zlei, ngie MFC after: 2 weeks Sponsored by: Stormshield Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D54971 (cherry picked from commit 07940d1d85eb338853fcba0697c6b9a96412a7f2) --- tests/atf_python/sys/net/vnet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/atf_python/sys/net/vnet.py b/tests/atf_python/sys/net/vnet.py index 41d612fc7c7f..d76933cb69a2 100644 --- a/tests/atf_python/sys/net/vnet.py +++ b/tests/atf_python/sys/net/vnet.py @@ -350,6 +350,7 @@ class VnetTestTemplate(BaseTest): vnetX_handler() after setting up interface addresses """ vnet.attach() + os.chdir(os.getenv("HOME")) print("# setup_vnet({})".format(vnet.name)) if pipe is not None: vnet.set_pipe(pipe)