From ea9a9f9a461fdbb5d1deb7f517e20a38b72ecde6 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sat, 11 Jan 2020 19:51:57 -0700 Subject: [PATCH] Pass Disk Attribute test for devices lacking SMART * Since these can't fail I think passing them makes sense --- 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 ce6c9c51..6cdb2917 100644 --- a/scripts/wk/hw/diags.py +++ b/scripts/wk/hw/diags.py @@ -895,6 +895,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