diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-04-20 21:05:42 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-04-20 21:05:42 +0200 |
| commit | 8c97d461d1c5bfef77b3ebf46ea1d1e211dbd556 (patch) | |
| tree | 12f11662a4ea882733f104b274cedf939d5329da /scripts | |
| parent | 8b27d2239b0a19ff3301fbb725ebf892f6ca2c82 (diff) | |
| download | vyos-build-8c97d461d1c5bfef77b3ebf46ea1d1e211dbd556.tar.gz vyos-build-8c97d461d1c5bfef77b3ebf46ea1d1e211dbd556.zip | |
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.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check-qemu-install | 5 |
1 files changed, 5 insertions, 0 deletions
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()] |
