Introduce canonical hardware.devices repository and align UI/Reanimator exports

This commit is contained in:
2026-02-17 19:07:18 +03:00
parent a82b55b144
commit de5521a4e5
11 changed files with 1944 additions and 319 deletions

View File

@@ -201,13 +201,9 @@ func TestFullReanimatorExport(t *testing.T) {
t.Errorf("CPU status mismatch: got %q", hw.CPUs[0].Status)
}
// Memory (should include empty slots)
if len(hw.Memory) != 2 {
t.Errorf("Expected 2 memory entries (including empty), got %d", len(hw.Memory))
}
if hw.Memory[1].Status != "Empty" {
t.Errorf("Empty memory slot status mismatch: got %q", hw.Memory[1].Status)
// Memory (empty slots are excluded)
if len(hw.Memory) != 1 {
t.Errorf("Expected 1 memory entry (installed only), got %d", len(hw.Memory))
}
// Storage