x86_64: update successful-boot test

This commit is contained in:
2026-04-20 22:18:47 +01:00
parent 809f19ebe7
commit 89c8f96829
2 changed files with 5 additions and 16 deletions
+2 -5
View File
@@ -24,13 +24,10 @@ def successful_boot(boot_log, out):
log(out, "Kernel rebooted during test!")
return 1
nr_finish = boot_log.count("ld finished")
if nr_finish == 0:
nr_finish = boot_log.count("exiting (Inappropriate file type or format)")
if nr_finish != 2:
log(out, "Didn't reach end of boot sequence!")
return 1
if nr_finish > 1:
log(out, "Boot sequence performed multiple times!")
return 1
return 0