From nobody Wed Apr 22 14:16:53 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 4g11WH0zBbz6ZdMY for ; Wed, 22 Apr 2026 14:16:59 +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 4g11WH0Jtyz3dt1 for ; Wed, 22 Apr 2026 14:16:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776867419; 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=+P9mQXPTxWH93aaU5D77FAMXz3OsqFovSoXM+BvfiPM=; b=sZhBa8slfZGNEkolmOhSfIPZA3Iq09s7D6+7DVAjOJBxKfD+vDbnBm1MWHLcZQ3NuZTmxZ McCxx0CkZxokuMD+sJep6OqEd3cDyLvttAi3EOu03jMTQHgYZV4421DrEwJcJXZHJP4byY ite7jOrs/13ZEYB9PT/51K96HRk1ei4jpW/kt/J5T8lo1Cri6az/4XmcokL++Hb3oj7Vv0 nzIjNaNcq5BQcw4b2bWWebIr4hgrdccayXI/AJiXpv8R35srX/of/oj+t4P5+7+H3kqK+L YzlBm6ZmNnjm2E9JT5FbKqwfV/0EKzRmmxCLMFxN4mBjtCoUs1g82keqVV+y0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776867419; a=rsa-sha256; cv=none; b=DIwmtUW/p8nHYgm9V2S1RSSTokjXSMsM0LpEe1q9l7BRC4azB7INaKwl60E8cVCT8wIJCW EfyDKnRbCvIpsFN6uMlpfBIc+DpoFP1eL5Nj/c8+0Hur8QcHoziGzJ9XMgGgLRpWP2w7AC MNjFTjBMq04tWfFDrtURqB1Vr9SEJgDfdw6KupZOfJ/xUYGAvT4/INGD+A5Mo+q4Ud+RQU 8tgWDbjjJ6SLaCRZyMjAzucP9+xFrkWhBmi+6QQJTbvD6aJLymjxrNAeKVC2C63tlR3/Tm VesR/mc+68124/+uGPtx8XzATIipzFlM14Pvt39lfkQzdqLRvTm6PfPbCLI5hw== 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=1776867419; 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=+P9mQXPTxWH93aaU5D77FAMXz3OsqFovSoXM+BvfiPM=; b=gDpZd3jCR+kGl+Qyig25tQCBlf1nb8NMvIeiSlYLqaX/PXcTpA1EbfVCBVeRYGeyGgxINJ nKA+1/oM9s+i1hIgP6n8GK5bVBiFV2JNC9cbNa5KdcrDoSfUpReUJCysRMVFWG65LRinVS wTx+KJjh/WZ+T43zdkvLB8ouXgqZluMqqsseDuMfnYo9HyOc6ILW0GcfjFIV8/dKfEZOyB MrIttefGObQqF5YmRdgCBxFjGC5bQkK7O065vytRRYuMA4fp+ve5NpvxoD9xah3ME3joiT HIhiVbKX9VoUEAaUJf3c5KKGbGHKQ/uEoDtPb0TUmcuIPtq3b6lhVSh+7VLH3w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g11WG6XlwzYtv for ; Wed, 22 Apr 2026 14:16:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25982 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 22 Apr 2026 14:16:53 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Cochard Subject: git: 19213b8eb33f - main - ctl: require ctladm in addition to sg_opcodes 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: olivier X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19213b8eb33f8cb692abb1ee857778af347ddfeb Auto-Submitted: auto-generated Date: Wed, 22 Apr 2026 14:16:53 +0000 Message-Id: <69e8d855.25982.19cab126@gitrepo.freebsd.org> The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/src/commit/?id=19213b8eb33f8cb692abb1ee857778af347ddfeb commit 19213b8eb33f8cb692abb1ee857778af347ddfeb Author: Olivier Cochard AuthorDate: 2026-04-22 14:14:04 +0000 Commit: Olivier Cochard CommitDate: 2026-04-22 14:16:15 +0000 ctl: require ctladm in addition to sg_opcodes Each test case in opcodes.sh uses ctladm to create and remove the LUN it exercises, but only sg_opcodes was listed in require.progs. On systems where ctladm is not builded the tests would fail at setup instead of being skipped cleanly. Approved by: asomers Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D56568 --- tests/sys/cam/ctl/opcodes.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/sys/cam/ctl/opcodes.sh b/tests/sys/cam/ctl/opcodes.sh index 1d558a1095a0..ccb39828f6ed 100644 --- a/tests/sys/cam/ctl/opcodes.sh +++ b/tests/sys/cam/ctl/opcodes.sh @@ -46,7 +46,7 @@ all_opcodes_head() { atf_set "descr" "REPORT SUPPORTED OPCODES can report all supported opcodes" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } all_opcodes_body() { @@ -66,7 +66,7 @@ basic_head() { atf_set "descr" "REPORT SUPPORTED OPCODES can report a single supported opcode" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } basic_body() { @@ -84,7 +84,7 @@ invalid_rep_opts_head() { atf_set "descr" "REPORT SUPPORTED OPCODES will fail gracefully if the REPORTING OPTIONS field is set to an invalid value" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } invalid_rep_opts_body() { @@ -105,7 +105,7 @@ missing_service_action_head() { atf_set "descr" "REPORT SUPPORTED OPCODES fails gracefully if the service action is omitted" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } missing_service_action_body() { @@ -124,7 +124,7 @@ out_of_bounds_service_action_head() { atf_set "descr" "REPORT SUPPORTED OPCODES fails gracefully if the requested service action is out of bounds" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } out_of_bounds_service_action_body() { @@ -152,7 +152,7 @@ service_action_head() { atf_set "descr" "REPORT SUPPORTED OPCODES can query an opcode that needs a service action" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } service_action_body() { @@ -172,7 +172,7 @@ unexpected_service_action_head() { atf_set "descr" "REPORT SUPPORTED OPCODES fails gracefully if an extraneous service action is provided" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } unexpected_service_action_body() { @@ -194,7 +194,7 @@ unexpected_service_action_ro3_head() { atf_set "descr" "REPORT SUPPORTED OPCODES fails gracefully if an extraneous service action is provided, using REPORTING OPTIONS 3" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } unexpected_service_action_ro3_body() { @@ -213,7 +213,7 @@ unsupported_opcode_head() { atf_set "descr" "REPORT SUPPORTED OPCODES can report a single unsupported opcode" atf_set "require.user" "root" - atf_set "require.progs" sg_opcodes + atf_set "require.progs" sg_opcodes ctladm } unsupported_opcode_body() {