Inventory Linux whole disks and account mounted filesystems by block topology

This commit is contained in:
2026-11-20 09:34:17 +01:00
parent 131cc53de2
commit eaaa6ff228
3 changed files with 439 additions and 4 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ mod tests {
fn native_wire_scopes_preserve_quality_time_and_unsupported() {
let native = crate::inventory::collect_native();
let mapped = observations(&native).unwrap();
assert_eq!(mapped.len(), 12);
assert_eq!(mapped.len(), 13);
let smart = mapped.iter().find(|v| v["scope"] == "linux.smart").unwrap();
assert_eq!(smart["quality"], "unsupported");
assert!(smart["data"].is_null());