opnsense-src/tests/ci
Siva Mahadevan 2f50ea54c6
tests/ci: fix race condition in bhyveload boot
Currently, there is a race condition where the
Makefile sh invocation of 'bhyveload -c stdio'
exits before receiving any user input in the bootloader
(e.g. in the form of a user typically pressing <enter>),
causing the 'expect' script to wrongly spawn the 'bhyve'
invocation while still in the bootloader.

This patch wraps bhyveload in expect(1) to ensure that
stdio is correctly consumed before the process exits.

Signed-off-by: Siva Mahadevan <me@svmhdvn.name>

Sponsored by:	The FreeBSD Foundation
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1757
2025-07-08 19:32:17 +08:00
..
tools tests/ci: run ci-full kyua tests in parallel 2025-07-05 00:27:59 +08:00
Makefile tests/ci: fix race condition in bhyveload boot 2025-07-08 19:32:17 +08:00
Makefile.aarch64
Makefile.amd64
Makefile.armv7
Makefile.powerpc64
Makefile.powerpc64le
Makefile.riscv64