Harden hostagent SMART no-device test
Some checks are pending
Build and Test / Secret Scan (push) Waiting to run
Build and Test / Frontend & Backend (push) Waiting to run

This commit is contained in:
rcourtman 2026-06-28 01:01:20 +01:00
parent ea15f9f3bf
commit 4fc56162f6

View file

@ -424,6 +424,8 @@ func TestDefaultRunCommandOutputRejectsOversizedOutput(t *testing.T) {
}
func TestCollectLocalNoDevices(t *testing.T) {
forceLinuxLSBLKFallback(t)
origRun := smartRunCommandOutput
t.Cleanup(func() { smartRunCommandOutput = origRun })