From 8c97d461d1c5bfef77b3ebf46ea1d1e211dbd556 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 20 Apr 2026 21:05:42 +0200 Subject: Testsuite: T8375: do not run serial console GRUB tests without serial console It does not make sense to test the serial console autodeteaction on a flavor which uses a VGA console like PROXMOX. If console_type is a VGA console, bail out early from the tests. --- scripts/check-qemu-install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 9a9b6042..a938c3e9 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -542,6 +542,11 @@ def basic_cli_tests(c): lines = [l.strip() for l in c.before.splitlines() if l.strip()] console_type = lines[-1].decode('utf-8').strip() # e.g. ttyS + # We do only care for ttyS or ttyAMA console types, exit early + # for VGA consoles + if console_type == 'tty': + return + c.sendline('cat /usr/share/vyos/flavor.json | jq -r ".console_num"') c.expect(op_mode_prompt) lines = [l.strip() for l in c.before.splitlines() if l.strip()] -- cgit v1.2.3