From patchwork Thu Jun 27 11:01:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1123302 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amsat.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ISEBy71G"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45ZHmg11skz9s4Y for ; Thu, 27 Jun 2019 21:32:03 +1000 (AEST) Received: from localhost ([::1]:48906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgSdF-0007pl-7n for incoming@patchwork.ozlabs.org; Thu, 27 Jun 2019 07:32:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56545) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hgSBr-0008IW-SO for qemu-devel@nongnu.org; Thu, 27 Jun 2019 07:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hgSBX-0007yP-PR for qemu-devel@nongnu.org; Thu, 27 Jun 2019 07:03:43 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:44137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hgSBX-0007wg-Im for qemu-devel@nongnu.org; Thu, 27 Jun 2019 07:03:23 -0400 Received: by mail-wr1-x441.google.com with SMTP id r16so174265wrl.11 for ; Thu, 27 Jun 2019 04:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oHKbdSUx4lNwWHvHnLfhGRkYGRci8p92i4tciWRLKis=; b=ISEBy71GHdE9uP167tbQ9Xq26w48gU8yxzwpg7svUgpoUaVxUBecUV6EZfIl0vyILw OtiW9Q1Mrl7oBabcodV2xFw1rEOUGXNykBSbO0bJ0lSYF33IBruHUkaRopVs8LWOtS38 kWfrbZn6f1mGG0gXn/nkXVnV+rBoRuwFVrtmf3ZUaJTsSGaRuVb5W5BILDUY0OCSOY48 kYrApO9huDOJ5NR534zjUM7XRsGsRWLMpShoXQCnCGk2rEfd23vZ/uX2JHBTUv+1I2Nm l8Q5vS50Nh/ENGBMTPgCVQ5SX2X2UCKxhykARGlC6EQDdqE79GC+zgO5PHKxzSHKTTGD P6cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=oHKbdSUx4lNwWHvHnLfhGRkYGRci8p92i4tciWRLKis=; b=iqh3aKUNFmcYSDibhPnx8ATiahoDoWublVWXZ4ltdtGZig1i97BgmlH+m5ApBZrKMI w7Sy68ToQQsHBmrvd1u/iHMyS4FepH1Trm8Ac087kl1K/+59x3uBAM2GJn4hjqmFwotS HUVVsDfwi1Ne35UOvMTnVHml+0p16ibCnVUtX6+5uJJpG2b2q0c7F1ZHUqoh2SF2dUW3 w4oXGgFhJJfY5X654cgSEfh5yJzCHi5QvDZ/CdglnD07ZG4IW/fyTBbpnSEJLOUYoHeU DbblMrbmJYJhh83ryH5m20loJ74SIFXE5M24ASxKvzEItiCWvdhXzpCYhZ5nT1ENN2Cy A8zQ== X-Gm-Message-State: APjAAAUVpDip9bFEmxXQBCMARGbU5j8Oa4Toy88JiXLlLqsuRnfPFne6 6mYrz6L1Kp87EmGiEWFN17dIEfCg X-Google-Smtp-Source: APXvYqxF5FeZxVJdwmej3/f7wYuqn4JK3amMCHL7hsZGospOlW9Y6DwIKyAiMO5/jX5FOJEpzrxfPw== X-Received: by 2002:a5d:4849:: with SMTP id n9mr2757917wrs.139.1561633400338; Thu, 27 Jun 2019 04:03:20 -0700 (PDT) Received: from x1.local (183.red-88-21-202.staticip.rima-tde.net. [88.21.202.183]) by smtp.gmail.com with ESMTPSA id y18sm6368968wmi.23.2019.06.27.04.02.41 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 04:02:52 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Thu, 27 Jun 2019 13:01:59 +0200 Message-Id: <20190627110201.1999-4-f4bug@amsat.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190627110201.1999-1-f4bug@amsat.org> References: <20190627110201.1999-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH 3/5] tests/acceptance: Test OpenBIOS on the PReP/40p X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Eduardo Habkost , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Mark Cave-Ayland , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Kamil Rytarowski , =?utf-8?q?Herv=C3=A9_Poussineau?= , Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Artyom Tarasenko Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" User case from: https://mail.coreboot.org/pipermail/openbios/2018-May/010360.html Signed-off-by: Philippe Mathieu-Daudé --- tests/acceptance/ppc_prep_40p.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/acceptance/ppc_prep_40p.py b/tests/acceptance/ppc_prep_40p.py index a0eac40d9f..87b5311b89 100644 --- a/tests/acceptance/ppc_prep_40p.py +++ b/tests/acceptance/ppc_prep_40p.py @@ -82,3 +82,35 @@ class IbmPrep40pMachine(Test): self.wait_for_console_pattern(fw_banner) prompt_msg = 'Type any key to interrupt automatic startup' self.wait_for_console_pattern(prompt_msg) + + def test_openbios_192m(self): + """ + :avocado: tags=arch:ppc + :avocado: tags=machine:40p + """ + self.vm.set_machine('40p') + self.vm.set_console() + self.vm.add_args('-m', '192') + + self.vm.launch() + self.wait_for_console_pattern('>> OpenBIOS') + self.wait_for_console_pattern('>> Memory: 192M') + self.wait_for_console_pattern('>> CPU type PowerPC,604') + + def test_openbios_and_netbsd(self): + """ + :avocado: tags=arch:ppc + :avocado: tags=machine:40p + """ + drive_url = ('https://ftp.netbsd.org/pub/NetBSD/iso/7.1.2/' + 'NetBSD-7.1.2-prep.iso') + drive_hash = '78734c1bdda79778f0b6f391969ad2458ed8981c' + drive_path = self.fetch_asset(drive_url, asset_hash=drive_hash) + + self.vm.set_machine('40p') + self.vm.set_console() + self.vm.add_args('-cdrom', drive_path, + '-boot', 'd') + + self.vm.launch() + self.wait_for_console_pattern('NetBSD/prep BOOT, Revision 1.9')