Updated badblocks section
* Reduced worker pane size * Save badblocks logs in LogDir
This commit is contained in:
parent
18ce079aa3
commit
5d70124c39
1 changed files with 4 additions and 3 deletions
|
|
@ -151,7 +151,7 @@ def run_badblocks():
|
|||
else:
|
||||
# Not testing SMART, SMART CS, or SMART OVERRIDE
|
||||
print_standard(' /dev/{:11} '.format(name+'...'), end='', flush=True)
|
||||
run_program('tmux split-window -dl 10 {} {} {}'.format(
|
||||
run_program('tmux split-window -dl 5 {} {} {}'.format(
|
||||
'hw-diags-badblocks',
|
||||
'/dev/{}'.format(name),
|
||||
progress_file).split())
|
||||
|
|
@ -168,8 +168,9 @@ def run_badblocks():
|
|||
else:
|
||||
TESTS['badblocks']['Status'][name] = 'NS'
|
||||
|
||||
# Remove temp file
|
||||
os.remove(progress_file)
|
||||
# Move temp file
|
||||
shutil.move(progress_file, '{}/badblocks-{}.log'.format(
|
||||
global_vars['LogDir'], name))
|
||||
update_progress()
|
||||
|
||||
# Done
|
||||
|
|
|
|||
Loading…
Reference in a new issue