test: fix test_extension.py
extension_bootdev_hunt may have already run. Without reboot we cannot make any assumption here. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> (cherry picked from commit d01720a8305a1e12b61bb40ff76c3a8a0d52d2f6) [Resolved conflict: used ubman instead of u_boot_console per ci/master rename]
This commit is contained in:
committed by
Simon Glass
parent
e8ea215081
commit
472fd4aa09
@@ -26,7 +26,9 @@ def test_extension(ubman):
|
||||
load_dtb(ubman)
|
||||
|
||||
output = ubman.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 = ubman.run_command('extension scan')
|
||||
assert output == 'Found 2 extension board(s).'
|
||||
|
||||
Reference in New Issue
Block a user