From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pJ763-00015j-3y for mharc-grub-devel@gnu.org; Sat, 21 Jan 2023 01:11:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJ761-00015b-DC for grub-devel@gnu.org; Sat, 21 Jan 2023 01:11:21 -0500 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pJ75z-0007eZ-Rp for grub-devel@gnu.org; Sat, 21 Jan 2023 01:11:21 -0500 Received: by mail-pj1-x102b.google.com with SMTP id y3-20020a17090a390300b00229add7bb36so6824248pjb.4 for ; Fri, 20 Jan 2023 22:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=S+brhbBOxDSXPLXZA6K9bN3CcWYfc6PqMekNgoyxmsw=; b=BA8ZBF0y3qoztQPkRajG1l4h+SJ0mwjNGsJhqoJ4QWVXahDTlNA4vLdRiPTzKilKyP bJDCD3h6zbp6djeNPcurI0gET6WTQLQUzevWVa/I+ziObCFdfkz6Mm0+7AxTU8JwRU2T 2B+cc2ewQoTkKQgMMmZapUujga9+xSUX3b64aS+DefCP9nppuQWEOfnEy8o4dDV5ekFX 03Tzd8X9AsIyDmIx4t175ss8VcRfZ8m9jwvjiSNBc7nUkULXF0bUxu4VzlveBX9EPmv7 vEc7Jf/YymfvAwdXhSUdxtQfVYjluldc2RJpHetMqf01/n3Db6uJ6/jPzhwrnZHD7PVD UDog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S+brhbBOxDSXPLXZA6K9bN3CcWYfc6PqMekNgoyxmsw=; b=koBBqEcQTKa8XpQb13kwTDwTiW/gbmPdoHC+Qa6WXFUuobfpXCt7uiyhw6usAVj/vn ixpnrZXEnJafmRutsmr0GGKZdmqJkLmfxIVice28ZZWEO7MeyKUW17GiwWCfvg4t/mwy JYd/SOqfIdBx19x4fs/gSo022nl6HN8wGFb+0fNkz9Fr+1wTS6X1TAShRgKcXxaJQFwv SqhYhgyyXDsiRlMd2mJceoFMfZQcymg6dGoJjJNH8nZgeQacD+zj3eQqdOYYhesWZN13 Qy21wSvSLAKjnB7xaiAV+C58NLyLRt77jg9HirdG2lrs42NzsS/p0giYASaEZN+pMvLt 88+w== X-Gm-Message-State: AFqh2kpSw6mfF+ye/KPTQecnT/Z5ROuI5YYwgeedymGovhPq/xLL++b4 WVuyDE9Soo3jPiUmYUGONTOI342ZTDJchpKX X-Google-Smtp-Source: AMrXdXvgl1tjSLZJeFIYgzykXXaVDgXEam3WKUeq5Gg1ebuOi3Jnmi/JpzUDAbeiqxf9/Af+q8WKyw== X-Received: by 2002:a17:902:ba88:b0:193:1fc5:f611 with SMTP id k8-20020a170902ba8800b001931fc5f611mr17754491pls.38.1674281477134; Fri, 20 Jan 2023 22:11:17 -0800 (PST) Received: from localhost.localdomain ([37.218.244.251]) by smtp.gmail.com with ESMTPSA id u12-20020a17090341cc00b001888cadf8f6sm9241267ple.49.2023.01.20.22.11.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 22:11:16 -0800 (PST) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Glenn Washburn Subject: [PATCH 3/3] grub-shell: Add $GRUB_QEMU_OPTS to run.sh to easily see unofficial QEMU arguments Date: Sat, 21 Jan 2023 00:10:46 -0600 Message-Id: <20230121061046.1619695-4-development@efficientek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230121061046.1619695-1-development@efficientek.com> References: <20230121061046.1619695-1-development@efficientek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=development@efficientek.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2023 06:11:21 -0000 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 --- tests/util/grub-shell.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index 658485f7ea..75f71dc1a2 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" <