Fix SMART short-test results section
* OVERRIDE status reduced to yellow/warning * Allows it to be elevated to NS or TimedOut * Only disable other disk tests on test.failed * OVERRIDE doesn't work if based on test.passed for this test
This commit is contained in:
parent
6e37736146
commit
96d34ceb50
1 changed files with 3 additions and 3 deletions
|
|
@ -66,8 +66,8 @@ KEY_SMART = 'ata_smart_attributes'
|
|||
QUICK_LABEL = '{YELLOW}(Quick){CLEAR}'.format(**COLORS)
|
||||
SIDE_PANE_WIDTH = 20
|
||||
STATUSES = {
|
||||
'RED': ['Denied', 'ERROR', 'NS', 'OVERRIDE', 'TimedOut'],
|
||||
'YELLOW': ['Aborted', 'N/A', 'Unknown', 'Working'],
|
||||
'RED': ['Denied', 'ERROR', 'NS', 'TimedOut'],
|
||||
'YELLOW': ['Aborted', 'N/A', 'OVERRIDE', 'Unknown', 'Working'],
|
||||
'GREEN': ['CS'],
|
||||
}
|
||||
TESTS_CPU = ['Prime95']
|
||||
|
|
@ -1513,7 +1513,7 @@ def run_nvme_smart_tests(state, test):
|
|||
test.update_status('TimedOut')
|
||||
|
||||
# Disable other drive tests if necessary
|
||||
if not test.passed:
|
||||
if test.failed:
|
||||
for t in ['badblocks', 'I/O Benchmark']:
|
||||
test.dev.disable_test(t, 'Denied')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue