mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-07-09 16:00:59 +00:00
Harden hostagent SMART no-device test
This commit is contained in:
parent
ea15f9f3bf
commit
4fc56162f6
1 changed files with 2 additions and 0 deletions
|
|
@ -424,6 +424,8 @@ func TestDefaultRunCommandOutputRejectsOversizedOutput(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCollectLocalNoDevices(t *testing.T) {
|
||||
forceLinuxLSBLKFallback(t)
|
||||
|
||||
origRun := smartRunCommandOutput
|
||||
t.Cleanup(func() { smartRunCommandOutput = origRun })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue