From 79b02e70175f1d8a35c4de2211991f0aefebb867 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 17 Apr 2019 19:24:41 +0000 Subject: [PATCH] Put QEMU CI smoke test boot log in /tmp if TMPDIR not set Sponsored by: The FreeBSD Foundation --- tools/boot/ci-qemu-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/boot/ci-qemu-test.sh b/tools/boot/ci-qemu-test.sh index b2a6cb5ab9f5..8d46182332b5 100755 --- a/tools/boot/ci-qemu-test.sh +++ b/tools/boot/ci-qemu-test.sh @@ -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 \