From patchwork Fri Mar 24 18:59:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?R8OpbWVzIEfDqXph?= X-Patchwork-Id: 9643801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B511460327 for ; Fri, 24 Mar 2017 19:02:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A867627B13 for ; Fri, 24 Mar 2017 19:02:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D52527CF9; Fri, 24 Mar 2017 19:02:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C7FCD27B13 for ; Fri, 24 Mar 2017 19:02:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crURJ-0007hp-Qi; Fri, 24 Mar 2017 18:59:57 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crURJ-0007hA-1Z for xen-devel@lists.xenproject.org; Fri, 24 Mar 2017 18:59:57 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 85/42-10315-CAC65D85; Fri, 24 Mar 2017 18:59:56 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRWlGSWpSXmKPExsVyMbThkO7qnKs RBtOPy1l83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBkPGp4yF+znrNi5IKeBcQJHFyMXh5DATEaJ Q0veMIE4LAKzWCWWTN7KCOJICGxjlfix9z1QhhPIiZGY2HsGyq6SeLJjIUsXIwdQu7LEo402I GEhgT4miZOdfiBhNgF7iRtvZUHCIgJKEvdWTQbrZBYolDi9fwU7iC0sYC5xpuk8I4jNIqAq8X r2KlYQm1fAReJK+zQ2iE1yEjfPdTKD2JwCrhLPzjcxQ6xykTjZsI0Jol5Q4uTMJ2DXMAuoS6y fJwSxSl6ieets5gmMwrOQVM1CqJqFpGoBI/MqRo3i1KKy1CJdQ0O9pKLM9IyS3MTMHF1DA1O9 3NTi4sT01JzEpGK95PzcTYzAAGcAgh2MK9udDzFKcjApifJGp1+NEOJLyk+pzEgszogvKs1JL T7EKMPBoSTB+ycbKCdYlJqeWpGWmQOMNZi0BAePkgjvApA0b3FBYm5xZjpE6hSjJceDU7veMH F86j8MJHccPfKGSYglLz8vVUqcNwKkQQCkIaM0D24cLB1cYpSVEuZlBDpQiKcgtSg3swRV/hW jOAejkjBvDcgUnsy8Eritr4AOYgI6aPaGKyAHlSQipKQaGOPv3c6aXzVXlYn3kLPxhT2NdgIn rXQClwvGnTp3M7jWckP72fxw3QP/Sj3/rZtgsfQiu2X0xcUn+cxUul0kuYQ/fhA1e2vfyrDE9 MV6hU9vriUbTvwh69G4yT/tTGS4yYepUstymDh33Xj1aKOLBp/Q1IDEGvEsposhSzeYSp16bq PqlWxmp8RSnJFoqMVcVJwIAH+koe4CAwAA X-Env-Sender: geza.gemes@gmail.com X-Msg-Ref: server-11.tower-206.messagelabs.com!1490381995!73481783!1 X-Originating-IP: [209.85.128.194] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11821 invoked from network); 24 Mar 2017 18:59:55 -0000 Received: from mail-wr0-f194.google.com (HELO mail-wr0-f194.google.com) (209.85.128.194) by server-11.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 24 Mar 2017 18:59:55 -0000 Received: by mail-wr0-f194.google.com with SMTP id u108so1709995wrb.2 for ; Fri, 24 Mar 2017 11:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PTJdn4d7c9kEHmCu8dskCvXbUOTCTF8q8NoL0pPopDM=; b=e0ypqF4OF5irreaAMxoxrwdR/Um1y21l9T315NiWxbohuuosxwuQ0hA+tFDyjRqjGa 2u7MkSUWczaK+lGAd18ziMpYaAlJn4EOU7I8yvne0g86DSzOJl53c4xzfOI1Kfw/uKPD fOxPh9f6hrA2ZcsvJRKFfiD38XAPyvzHmwKMW903C818nmGwM4rcZCGHuQZ32v5iCqWP kVIzV3zcIxvCxjRhXn8LF8vayff8pf1aEfdRlyrhhS/nEa/UWyQDf+hzQih4dOgJ9nsk cj7REaIGsFwq/49T3TMtToOxqHOiZg8hX1jggAXt2zLYRHju1Zzk3Q92eOKZwhXa8T2S yiMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PTJdn4d7c9kEHmCu8dskCvXbUOTCTF8q8NoL0pPopDM=; b=EzYyrizwBnZHvHeP9jIJgfl5HBQTX0MUoYnpIVNYr+8t9Vi3KrXCgK+LR7ssRVwkTD WGkjxQgUz9PlkKeQlCbV1LG2Idqco1Z6yISQQlYdtfPes59mCD6nx7ADTXKkZpvZXoIL Fbb7FTPirVnme/UFxF6LPqDvn7RkSmQerOY5BS5ULQTipftoV26RNyUG9mDHpYtDhNfZ Zrw/3rL63nZZYDBKzY+OqKmGSNSwv02FHyzWhuCMLQI0dZ134KKLLYuC3AqnE1y2bz/i ijTyzI1qbvWhpBRhXyqZtyAvwvz+ZHTzuzVaakS8RHp/lMCQDYh+Ll6gqPDlDQf5kB6U ivbg== X-Gm-Message-State: AFeK/H1zO+hqAbKrXibFQ+anI9Y3KvWAwvHxlav9igI8tzXhzn1QeRtYhmpMBoI6h6xYQA== X-Received: by 10.223.161.132 with SMTP id u4mr1624004wru.203.1490381995170; Fri, 24 Mar 2017 11:59:55 -0700 (PDT) Received: from kag.kagdom.hu (4E5C407A.dsl.pool.telekom.hu. [78.92.64.122]) by smtp.gmail.com with ESMTPSA id i133sm3478997wmg.26.2017.03.24.11.59.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 11:59:54 -0700 (PDT) From: =?UTF-8?q?G=C3=A9za=20G=C3=A9mes?= To: xen-devel@lists.xenproject.org Date: Fri, 24 Mar 2017 19:59:30 +0100 Message-Id: <1490381976-22981-6-git-send-email-geza.gemes@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490381976-22981-1-git-send-email-geza.gemes@gmail.com> References: <1490381976-22981-1-git-send-email-geza.gemes@gmail.com> MIME-Version: 1.0 Cc: sstabellini@kernel.org, george.dunlap@citrix.com, =?UTF-8?q?G=C3=A9za=20G=C3=A9mes?= Subject: [Xen-devel] [PATCH 05/11] Introduce cirros-pvgrub2-pv test X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP This test verifies booting the cirros image using pvgrub2 Signed-off-by: Géza Gémes --- tests/cirros-pvgrub2-pv | 24 ++++++++++++++++++++++++ tests/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 tests/cirros-pvgrub2-pv diff --git a/tests/cirros-pvgrub2-pv b/tests/cirros-pvgrub2-pv new file mode 100644 index 0000000..f48617e --- /dev/null +++ b/tests/cirros-pvgrub2-pv @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +set -e + +function cirros-pvgrub2-pv-cleanup() { + tear_down_cirros_test $testdir +} + +function cirros-pvgrub2-pv-test() { + testdir=`mktemp -d` + set_up_cirros_disk $testdir grub_install + cat >$testdir/cirros-pvgrub2-pv.cfg <