diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-31 16:45:02 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-31 17:13:00 +0300 |
commit | 8a5cdf601f8da6704c9146a253c1bcbfcd0e6286 (patch) | |
tree | 5fe4b4da49a1f5505de903e8ffee52f4b2c510d7 /test | |
parent | 87438b5e14b5737ad7544b2ca24192c692e000ef (diff) | |
download | u-boot-8a5cdf601f8da6704c9146a253c1bcbfcd0e6286.tar.xz |
test: efi_selftest: Do not force serial# setting
As part of the EFI self test we set and check the serial# variable.
However, we should not be forcing this setting. In the case where we
are allowed to change the variable it will change, and we will pass the
test. In the case where we cannot change it, force may or may not be
allowed, depending on further environment restrictions. Drop the -f
flag here as we do not need it.
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/py/tests/test_efi_selftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index 971c9f6053..9b520c2070 100644 --- a/test/py/tests/test_efi_selftest.py +++ b/test/py/tests/test_efi_selftest.py @@ -36,7 +36,7 @@ def test_efi_selftest_device_tree(u_boot_console): output = u_boot_console.run_command('bootefi selftest') assert '\'device tree\'' in output u_boot_console.run_command(cmd='setenv efi_selftest device tree') - u_boot_console.run_command(cmd='setenv -f serial# Testing DT') + u_boot_console.run_command(cmd='setenv serial# Testing DT') u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False) m = u_boot_console.p.expect(['serial-number: Testing DT', 'U-Boot']) if m != 0: |