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:
|
else:
|
||||||
# Not testing SMART, SMART CS, or SMART OVERRIDE
|
# Not testing SMART, SMART CS, or SMART OVERRIDE
|
||||||
print_standard(' /dev/{:11} '.format(name+'...'), end='', flush=True)
|
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',
|
'hw-diags-badblocks',
|
||||||
'/dev/{}'.format(name),
|
'/dev/{}'.format(name),
|
||||||
progress_file).split())
|
progress_file).split())
|
||||||
|
|
@ -168,8 +168,9 @@ def run_badblocks():
|
||||||
else:
|
else:
|
||||||
TESTS['badblocks']['Status'][name] = 'NS'
|
TESTS['badblocks']['Status'][name] = 'NS'
|
||||||
|
|
||||||
# Remove temp file
|
# Move temp file
|
||||||
os.remove(progress_file)
|
shutil.move(progress_file, '{}/badblocks-{}.log'.format(
|
||||||
|
global_vars['LogDir'], name))
|
||||||
update_progress()
|
update_progress()
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue