Skip to content

Fix spurious assertion failure

Andreas Hartmetz requested to merge work/fix_smartctl_parsing_assertion into master

I have a wacky device here for which smartctl gives the error: "/dev/sda: Unknown USB bridge [0x0781:0x5591 (0x100)]"

This returned JSON data is missing some expected entries, which seems to give an invalid parsing result. In that case, skip it before checking for any consistency with further expectations.

Merge request reports