summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-11-10 18:33:22 +0100
committerChristian Breunig <christian@breunig.cc>2026-11-10 18:33:22 +0100
commit97445025558f23c66e0ce1f5965bb9de84c51465 (patch)
tree1fcd5ac62673bd1249e18b90fc1686760b94169f /scripts
parent1312d5df3a4375502eb134d29a4a678f7c1ab0f9 (diff)
downloadvyos-build-97445025558f23c66e0ce1f5965bb9de84c51465.tar.gz
vyos-build-97445025558f23c66e0ce1f5965bb9de84c51465.zip
smoketest: T9402: fail with a clear error if QEMU exits during GRUB selection
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 9b63e90f..9f2f4eb5 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -666,7 +666,7 @@ def BOOTLOADERchooseSerialConsole(child, live: bool) -> None:
# Restart from Home instead of repeating Down from an unknown selection.
for _ in range(3):
if child.eof():
- return
+ raise RuntimeError('QEMU exited during GRUB menu selection')
# Ctrl-A is Home without the EFI console's escape-sequence parsing.
child.sendcontrol('a')