mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
test/py: efi_secboot: fix test case 1g of test_authvar
In the test case (1g) of test_authvar, "db" is mistakenly used, and it ends up being the exact same as (1f). So correct it as "dbx" test case. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
bed118fb10
commit
4edd9ccd94
1 changed files with 6 additions and 6 deletions
|
@ -106,16 +106,16 @@ class TestEfiAuthVar(object):
|
||||||
with u_boot_console.log.section('Test Case 1g'):
|
with u_boot_console.log.section('Test Case 1g'):
|
||||||
# Test Case 1g, install dbx
|
# Test Case 1g, install dbx
|
||||||
output = u_boot_console.run_command_list([
|
output = u_boot_console.run_command_list([
|
||||||
'fatload host 0:1 4000000 db.auth',
|
'fatload host 0:1 4000000 dbx.auth',
|
||||||
'setenv -e -nv -bs -rt -i 4000000,$filesize db'])
|
'setenv -e -nv -bs -rt -i 4000000,$filesize dbx'])
|
||||||
assert('Failed to set EFI variable' in ''.join(output))
|
assert('Failed to set EFI variable' in ''.join(output))
|
||||||
|
|
||||||
output = u_boot_console.run_command_list([
|
output = u_boot_console.run_command_list([
|
||||||
'fatload host 0:1 4000000 db.auth',
|
'fatload host 0:1 4000000 dbx.auth',
|
||||||
'setenv -e -nv -bs -rt -at -i 4000000,$filesize db',
|
'setenv -e -nv -bs -rt -at -i 4000000,$filesize dbx',
|
||||||
'printenv -e -n -guid d719b2cb-3d3a-4596-a3bc-dad00e67656f db'])
|
'printenv -e -n -guid d719b2cb-3d3a-4596-a3bc-dad00e67656f dbx'])
|
||||||
assert(not 'Failed to set EFI variable' in ''.join(output))
|
assert(not 'Failed to set EFI variable' in ''.join(output))
|
||||||
assert('db:' in ''.join(output))
|
assert('dbx:' in ''.join(output))
|
||||||
|
|
||||||
output = u_boot_console.run_command(
|
output = u_boot_console.run_command(
|
||||||
'printenv -e SecureBoot')
|
'printenv -e SecureBoot')
|
||||||
|
|
Loading…
Add table
Reference in a new issue