From nobody Mon Feb 2 16:55:15 2026 X-Original-To: dev-commits-src-all@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 4f4XmM58Wfz6Qjyl for ; Mon, 02 Feb 2026 16:55:15 +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 4f4XmM3wnpz3S2h for ; Mon, 02 Feb 2026 16:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770051315; 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=qpIpHEKND5iRPf85zM7C8PvZ7WC3A4tVKLbQDFsuw/4=; b=lq1imVSBJ0obDZeTuRVJf8MR85Pugd0pOIVI2UL8MltNHNdgDgIGu3Us7RofoGUPrlTBUc 0lTcTFurRpNr4M/mROKcR65HeOIh6e8T8DUYMUOb9iSxRELhc8RPSq1fjaknKCWftKheUd JRy0RyuvYDmkmNZ6IrluW9ZGexLW5HxJRBRyahBBbVWY+x09J9MQxzAqqLpfr2C936/9P9 /xaiWCL8LVzsA8G15T2MLgxBWKXEWQkUuZfe7P/zyJ8L+cbjD54UVCoYZtHyFYOmuzWwut BVL+s7qyiiqdJr04alJ59YRKaRupgZ/Q5h778nkH88k5lDzloQVbd1rNriLTWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770051315; a=rsa-sha256; cv=none; b=ePF0kMe/klrWoCPi20U9X5OCC57NS5fyhzr4w2z5bQ5cQ4CfUijFNODmrxMvfqrzI89wSh p4OdGpoLQ/pEjzmzTHfDtK2fLM+I+xArx4OADvgLj5ndsk+Als057da6ezTTaq44sSbKHZ 1Aa+JCjh6O2m1DDmrjvuPvkvZ10uEGJyvqwUDJJ6CEsFSN9cirhqGop4eb0sx6H33LBaAm HX4eTpAWMuqjqXHPVGnF+o2Bg51fz0RoEg3cvS5XBac+NX+uEXoFW/j11kTNgJe2/OMMi+ WZuNm4HAT3WowWcV+1wMa3MB6O1fC+r9OFfmPjLlXEdcCO8jD9cEzm7THKRpfA== 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=1770051315; 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=qpIpHEKND5iRPf85zM7C8PvZ7WC3A4tVKLbQDFsuw/4=; b=aTWXsGphtOOEsANzJvzFVQ0uqITvVaNfqIXbK0BsGpyzo90cDJJ6am6Yy4l5ij0CTSlY9P bBaPFdRyJ4IVdCDSw/3dm3PjQtip0/anUJBiAu+lwh4SyCs0yYFki9CajiE8J64S8/0d3j Ll7DAUb0pQ/r4nA6l20tdK5doq+pZlzxZECdEvJuq9IAj8nA28JlCCBVfa3fk29Bspxbl4 z+XKp0u4DxyGSzCaOZNuzZlIG+mnQ0rVNIU0cmZ1qHVqftfdAtk8NYC/VPjPtzUcfqDGIj fPJBAAmi1FFasXRG10mXbUd5bOff1WBSRjoluwDscBZ0/UPIaW28zhfHLtoxRw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f4XmM3JxrzbFH for ; Mon, 02 Feb 2026 16:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1cc42 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 02 Feb 2026 16:55:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 07940d1d85eb - main - atf_python: Run vnet handlers in $HOME List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 07940d1d85eb338853fcba0697c6b9a96412a7f2 Auto-Submitted: auto-generated Date: Mon, 02 Feb 2026 16:55:15 +0000 Message-Id: <6980d6f3.1cc42.1678c52d@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=07940d1d85eb338853fcba0697c6b9a96412a7f2 commit 07940d1d85eb338853fcba0697c6b9a96412a7f2 Author: Mark Johnston AuthorDate: 2026-02-02 14:52:43 +0000 Commit: Mark Johnston CommitDate: 2026-02-02 16:54:54 +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 --- 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 93bfa4437940..a6e620b49d59 100644 --- a/tests/atf_python/sys/net/vnet.py +++ b/tests/atf_python/sys/net/vnet.py @@ -357,6 +357,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)