Show CS/NS in quick mode if self-test is running
* It still shows the slightly ambiguous message "all tests disabled" * Addresses issue #96
This commit is contained in:
parent
607d4b1e57
commit
a3d2de92bc
1 changed files with 4 additions and 1 deletions
|
|
@ -443,7 +443,10 @@ class DiskObj():
|
|||
|
||||
# Disable tests if necessary (statuses won't be overwritten)
|
||||
if test_running:
|
||||
for t in ['NVMe / SMART', 'badblocks', 'I/O Benchmark']:
|
||||
if not silent:
|
||||
# silent is only True in quick_mode
|
||||
self.disable_test('NVMe / SMART', 'Denied')
|
||||
for t in ['badblocks', 'I/O Benchmark']:
|
||||
self.disable_test(t, 'Denied')
|
||||
elif not disk_ok:
|
||||
self.disable_test('NVMe / SMART', 'NS')
|
||||
|
|
|
|||
Loading…
Reference in a new issue