Avoid marking aborted badblocks test as failed
This commit is contained in:
parent
82377bc1ab
commit
017c0e3385
1 changed files with 2 additions and 1 deletions
|
|
@ -981,7 +981,8 @@ def run_badblocks_test(state, test):
|
|||
else:
|
||||
test.report.append(' {YELLOW}{line}{CLEAR}'.format(
|
||||
line=line, **COLORS))
|
||||
test.failed = True
|
||||
if not test.aborted:
|
||||
test.failed = True
|
||||
if test.aborted:
|
||||
test.report.append(' {YELLOW}Aborted{CLEAR}'.format(**COLORS))
|
||||
test.update_status('Aborted')
|
||||
|
|
|
|||
Loading…
Reference in a new issue