From 94e233651e54d0043820c467a56f6acce810b2ff Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Wed, 25 Mar 2026 15:24:52 +0300 Subject: [PATCH] fix(sat): fix nvme device-self-test command flags --start is not a valid nvme-cli flag; correct syntax is -s 1 (short test). Add --wait so the command blocks until the test completes. Co-Authored-By: Claude Sonnet 4.6 --- audit/internal/platform/sat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audit/internal/platform/sat.go b/audit/internal/platform/sat.go index 2d90723..44f2aef 100644 --- a/audit/internal/platform/sat.go +++ b/audit/internal/platform/sat.go @@ -332,7 +332,7 @@ func storageSATCommands(devPath string) []satJob { return []satJob{ {name: "nvme-id-ctrl", cmd: []string{"nvme", "id-ctrl", devPath, "-o", "json"}}, {name: "nvme-smart-log", cmd: []string{"nvme", "smart-log", devPath, "-o", "json"}}, - {name: "nvme-device-self-test", cmd: []string{"nvme", "device-self-test", devPath, "--start", "1"}}, + {name: "nvme-device-self-test", cmd: []string{"nvme", "device-self-test", devPath, "-s", "1", "--wait"}}, } } return []satJob{