From fef83232825c7857d4fe682e5ebabc5475d41449 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 11 Jan 2020 19:53:34 -0700 Subject: [PATCH] Pass Disk Attribute test for devices lacking SMART --- scripts/wk/hw/diags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/wk/hw/diags.py b/scripts/wk/hw/diags.py index 5a7faaba..1df65cb7 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -911,6 +911,8 @@ def disk_self_test(state, test_objects): test_obj.failed = True result = 'TimedOut' except hw_obj.SMARTNotSupportedError: + # Pass test since it doesn't apply + test_obj.passed = True result = 'N/A' # Set status