]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: don't call restart_uboot in EFI watchdog test
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 1 Oct 2024 22:53:35 +0000 (00:53 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 04:04:56 +0000 (22:04 -0600)
commitee34507f70fd91f78a27869f9cbac145f2478c9c
treefbc021ce07acab6be04ad436a6fa2be6fc852480
parent4e97d9b259ac78df917462b37e9c4b84cc7f0625
test: don't call restart_uboot in EFI watchdog test

Calling u_boot_console.restart_uboot() in
test_efi_selftest_watchdog_reboot() may lead to incorrect results.

While the watchdog triggered reboot is running thee test environment may
need some time before triggering a reboot itself. This may lead to
duplicate output of the U-Boot greeter which is recorded as an error.

Reported-by: Tom Rini <trini@konsulko.com>
Fixes: df172e117d1d ("test/py: test reboot by EFI watchdog")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
test/py/tests/test_efi_selftest.py