From nobody Thu Apr 23 03:02:49 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 4g1LVy0Dqqz6bQ3L for ; Thu, 23 Apr 2026 03:02:50 +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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g1LVx6Fmdz40T5 for ; Thu, 23 Apr 2026 03:02:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776913369; 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=Fe1z0Csuu21lHJh+0YFe9QAPR5KHBCmq8yFXfe7aZlg=; b=MtfrBXYzybmuJHkcES/wBZyTlHChGvU+2rAnhbjkYdsc+0yfYastNzMY8Qn07Nj0xDkmjM yVGS2wn7qio45UjaqG9/xm13Qyk5/U+gDl6OxpySAJ372OoL30zULphjlpd7hTBGE+mYKt KkuH/5+4xxWziS9wIeoAsqnQdtE6spTPAh+cIodHn+IAZNg+cP1N/Cbhqo6y/PpHEfREwl 07FSARNIgqYlrDpCmtbpSno+a6clcmcuZiBgX3F99Jp3J8e4CnComzKyRRXpjuIqewnF+M Gg48zZWRPzNAWGUeP0UEzTXhFnqIp88jNDgJjQYRTtgVxFtqsnnBGFHVxzJvnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776913369; a=rsa-sha256; cv=none; b=i8SAozPo/R2EfGsI4jVSDaOsVc/fIQgGLyBzEuCV6flBGgZFohJ2yuCud2IOFDZQkcwCgB M41VqPyQYoje8FU29a+WKzwSbm8KKlRbcmWiiXTeUT36gyQAM9l6NKqeIKgJbRiHKSIUl5 xQoFaPy97ee/grp23baDiX9vY86YcqPrRl2jwdIP7KWp89GaSSyZoPkQObkqjDO7MYo86s PIaDZFxoF+eeL1OJm5/4I/pJe2L+DsQL3GijUBS5pPPm4hwG5J+pFI/1RVETvjxC9xWNZb 0kF70H6drXV9a3ij3d2kLp1M+K/2MSB08GHdHJxgi5gKsCCIdtGsfb/2OoByug== 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=1776913369; 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=Fe1z0Csuu21lHJh+0YFe9QAPR5KHBCmq8yFXfe7aZlg=; b=pRtJ8g9d8Ys7wFNZ0H4PTb/G6+yten4SNM9B6tQpX5iFJQNT8TVAJ8HSxaG8mJGBYYW3Ij 448fEv5UwaJY+w9MTC3sFc7E0rJ5W94QiDNs1UmIKIF9yVo5LvGrwQT2gsRqcyymga0Q42 h2rsjwfQTPC1haZ4aIEhbJae4H13LEXNcREpEo0lTz7iCWoKKwUqFujYPUHm2V+0oHZZ4i WPRbVOTyEEK31MBJEV7oihukQfCMDAF11+FEpRbR4b8nFNOLHZ9e7pFwiCCaAPz0qqGIuV KXghMfzZUtZSsWXIgXG2YJgVVus2xwLp4psX/7FN5ZC+Mls6vH1iY9URYq4vlg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g1LVx5m6Nzy8p for ; Thu, 23 Apr 2026 03:02:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 37e59 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 23 Apr 2026 03:02:49 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: 8d680381c89d - main - jail: tests: cosmetic-ish improvements 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: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d680381c89d8a8d1c0519a7eaa14ba41724b930 Auto-Submitted: auto-generated Date: Thu, 23 Apr 2026 03:02:49 +0000 Message-Id: <69e98bd9.37e59.3bac9f96@gitrepo.freebsd.org> The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=8d680381c89d8a8d1c0519a7eaa14ba41724b930 commit 8d680381c89d8a8d1c0519a7eaa14ba41724b930 Author: Kyle Evans AuthorDate: 2026-04-23 02:59:21 +0000 Commit: Kyle Evans CommitDate: 2026-04-23 03:02:38 +0000 jail: tests: cosmetic-ish improvements The new version of incrementing `jid` is a little cleaner and harder to mess up, and also fix a nwlin omission while we're here. These comments were dropped on D51502; ngie takes a co-author credit so that they're not blamed for the commit message, but I can't claim that I tweaked their suggestions. Co-authored-by: ngie --- usr.sbin/jail/tests/jail_basic_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/jail/tests/jail_basic_test.sh b/usr.sbin/jail/tests/jail_basic_test.sh index c781eed78756..cb50a94a45e8 100755 --- a/usr.sbin/jail/tests/jail_basic_test.sh +++ b/usr.sbin/jail/tests/jail_basic_test.sh @@ -186,11 +186,12 @@ find_unused_jid() atf_skip "System has too many jail, cannot find free slot" fi - jid=$((jid + 1)) + : $(( jid += 1 )) done echo "$jid" | tee -a jails.lst } + clean_jails() { if [ ! -s jails.lst ]; then