From: Glenn Washburn Date: Sat, 21 Jan 2023 06:10:46 +0000 (-0600) Subject: tests/util/grub-shell: Add $GRUB_QEMU_OPTS to run.sh to easily see unofficial QEMU... X-Git-Tag: grub-2.12-rc1~139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d729ced70afe2d1990be9a88cc88c3c2a93b51f;p=thirdparty%2Fgrub.git tests/util/grub-shell: Add $GRUB_QEMU_OPTS to run.sh to easily see unofficial QEMU arguments When re-running a failed test, even the non-standard grub-shell QEMU arguments should be preserved in the run.sh to more precisely replay the failed test run. Signed-off-by: Glenn Washburn Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 658485f7e..75f71dc1a 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -74,7 +74,7 @@ exec_show_error () { work_directory=${WORKDIR:-`mktemp -d "${TMPDIR:-/tmp}/grub-shell.XXXXXXXXXX"`} || exit 1 . "${builddir}/grub-core/modinfo.sh" -qemuopts="${GRUB_QEMU_OPTS}" +qemuopts= serial_port=com0 serial_null= halt_cmd=halt @@ -523,8 +523,9 @@ if [ x$boot = xnet ]; then [ -z "$files" ] || copy_extra_files "$netdir" $files cat >"$work_directory/run.sh" <"$work_directory/run.sh" <