Put QEMU CI smoke test boot log in /tmp if TMPDIR not set

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-04-17 19:24:41 +00:00
parent 297ce4ce2d
commit 79b02e7017
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346330

View File

@ -95,7 +95,7 @@ trap tempdir_cleanup EXIT SIGINT SIGHUP SIGTERM SIGQUIT
( cd ${SRCTOP} && tempdir_setup )
# And, boot in QEMU.
: ${BOOTLOG:=${TMPDIR}/ci-qemu-test-boot.log}
: ${BOOTLOG:=${TMPDIR:-/tmp}/ci-qemu-test-boot.log}
timeout 300 \
qemu-system-x86_64 -m 256M -bios ${OVMF} \
-serial stdio -vga none -nographic -monitor none \