mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
test: fix test_extension.py
test_extension.py assumes that no extension is known at test start. This assumption is wrong because we do not come out of reboot. A prior test may have already hunted for the extension bootdev. Remove the invalid assert. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
f99b549fc2
commit
d01720a830
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ def test_extension(u_boot_console):
|
|||
load_dtb(u_boot_console)
|
||||
|
||||
output = u_boot_console.run_command('extension list')
|
||||
assert('No extension' in output)
|
||||
# extension_bootdev_hunt may have already run.
|
||||
# Without reboot we cannot make any assumption here.
|
||||
# assert('No extension' in output)
|
||||
|
||||
output = u_boot_console.run_command('extension scan')
|
||||
assert output == 'Found 2 extension board(s).'
|
||||
|
|
Loading…
Add table
Reference in a new issue