Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03909606A32E for ; Wed, 25 Nov 2026 02:58:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=RLrdnlqJ Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xW3DQ-0008Qx-DP; Tue, 24 Nov 2026 21:58:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xW3DO-0008QZ-AV for qemu-devel@nongnu.org; Tue, 24 Nov 2026 21:58:34 -0500 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xW3DL-0003mL-As for qemu-devel@nongnu.org; Tue, 24 Nov 2026 21:58:32 -0500 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 69033417AB; Wed, 25 Nov 2026 02:58:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BFC71F000C4; Wed, 25 Nov 2026 02:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795575509; bh=4V+K8RA0GL1PuPEHBSfQcfKfXJEH3bGYLevnOEjU7I4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RLrdnlqJzS98ztnyV0eGNdyWjJkQ047gs3kRDDwS5lbcSLTik5L8uQDoNxdz4wsd4 14z+PcJVgYRbyD3Ii4UBAMZFI0wxNbcyaECfGs9dQpSk4rE3hwDUAk76RDczcW9sNP H4MoYdDIsjFBbMxGOf8KGYUFCfbukDeV7nPq9dfSRTebz3t8BZqjul6L8V1MRq1w5C KZmW1pcDrz/cpHEIkOzggYXg/NU7TsVOckW2wSJHcLaI60DrsgHB2+o3qVMWIHtM6t i6H130vOe223fGva5dwEgVfAXSA3Z4h1idAIX0yp8kShTLJd3/9pYQdCH+AyiQoSLi toUk0H8WSvMNQ== From: Helge Deller To: qemu-devel@nongnu.org Cc: Richard Henderson , Helge Deller , "Kirill A . Korinsky" Subject: [PULL for 11.2 2/3] tests/functional/hppa: add OpenBSD CD-ROM boot test for qemu-system-hppa Date: Wed, 25 Nov 2026 03:58:21 +0100 Message-ID: <20261125025822.10813-3-deller@kernel.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20261125025822.10813-1-deller@kernel.org> References: <20261125025822.10813-1-deller@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2600:3c0a:e001:78e:0:1991:8:25; envelope-from=deller@kernel.org; helo=sea.source.kernel.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: "Kirill A. Korinsky" Test that OpenBSD boots on a B160L and reaches the installer. Signed-off-by: Kirill A. Korinsky Signed-off-by: Helge Deller --- tests/functional/hppa/meson.build | 1 + tests/functional/hppa/test_openbsd.py | 37 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100755 tests/functional/hppa/test_openbsd.py diff --git a/tests/functional/hppa/meson.build b/tests/functional/hppa/meson.build index df2f7ccc9c..d34feb69ae 100644 --- a/tests/functional/hppa/meson.build +++ b/tests/functional/hppa/meson.build @@ -6,4 +6,5 @@ tests_hppa_system_quick = [ tests_hppa_system_thorough = [ 'cdboot', + 'openbsd', ] diff --git a/tests/functional/hppa/test_openbsd.py b/tests/functional/hppa/test_openbsd.py new file mode 100755 index 0000000000..22ab1e655c --- /dev/null +++ b/tests/functional/hppa/test_openbsd.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 +# +# Test that OpenBSD boots on B160L and reaches the installer. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +from qemu_test import QemuSystemTest, Asset +from qemu_test import wait_for_console_pattern + + +class OpenBSDB160L(QemuSystemTest): + + ASSET_CD = Asset( + 'https://ftp.eu.openbsd.org/pub/OpenBSD/8.0/hppa/cd80.iso', + '9b3971dc3d2362e5d694495f2c2e10795513b87c9bcca5666df5a2bfea071663') + + def test_openbsd_80_installer(self): + self.set_machine('B160L') + self.require_accelerator('tcg') + cdrom_path = self.ASSET_CD.fetch() + + self.vm.set_console() + self.vm.add_args('-nic', 'none', + '-cdrom', cdrom_path, + '-boot', 'd', + '-no-reboot') + self.vm.launch() + + wait_for_console_pattern(self, 'OpenBSD 8.0 (RAMDISK)', 'panic:') + wait_for_console_pattern( + self, + '(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?', + 'panic:') + + +if __name__ == '__main__': + QemuSystemTest.main() -- 2.54.0