From patchwork Tue Jul 25 15:00:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 9862193 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 9E407601A1 for ; Tue, 25 Jul 2017 15:02:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9133F28668 for ; Tue, 25 Jul 2017 15:02:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 861E5286C2; Tue, 25 Jul 2017 15:02:46 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 882A728668 for ; Tue, 25 Jul 2017 15:02:45 +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 1da1KE-00033U-OR; Tue, 25 Jul 2017 15:00:42 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da1KD-000323-Au for xen-devel@lists.xenproject.org; Tue, 25 Jul 2017 15:00:41 +0000 Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id 6F/BA-01859-81D57795; Tue, 25 Jul 2017 15:00:40 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRWlGSWpSXmKPExsXitHSDva54bHm kwcM9+hbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8adW/tZCh6yVrRvXcvewPiCpYuRk0NCwF+i te0SG4jNJqAjcXHuTiCbg0NEQEXi9l4DkDCzQIhE67Ev7CC2sICNxK/ddxhBbBYBVYk1S/6C2 bwCFhK/e08zQozUk3g78QWYzSlgKXGu9RwTiC0EVLO75wMLRL2gxMmZT1gg5mtKtG7/zQ5hy0 s0b53NDFGvKNE/7wHbBEa+WUhaZiFpmYWkZQEj8ypGjeLUorLUIl1Dc72kosz0jJLcxMwcXUM DY73c1OLixPTUnMSkYr3k/NxNjMBQYwCCHYwvT3seYpTkYFIS5f2mWx4pxJeUn1KZkVicEV9U mpNafIhRhoNDSYJ3czRQTrAoNT21Ii0zBxj0MGkJDh4lEd5+kDRvcUFibnFmOkTqFKMxR9OHL V+YOF5N+P+NSYglLz8vVUqcNxqkVACkNKM0D24QLBovMcpKCfMyAp0mxFOQWpSbWYIq/4pRnI NRSZg3FmQKT2ZeCdy+V0CnMAGdMmdGKcgpJYkIKakGxgWvrHdfvmfyavHvtDjmZS7fHL/I9+9 zK//wILfGzCRsXu/aidYCSz4X7nmnsdZZQZHJqKRWQ4kt1VrKfJLY5PpU1i9LC/x2PDst5SHm fUpfalYet8eSbjdnVa9QO63Nxou3GJye7MA3ZVvP8dQZdZMEDx2Z+fNqplR+h0yy6f4WzgRBj sPqSizFGYmGWsxFxYkAtPB3C8ECAAA= X-Env-Sender: prvs=372c1d2af=roger.pau@citrix.com X-Msg-Ref: server-13.tower-31.messagelabs.com!1500994837!106378237!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50814 invoked from network); 25 Jul 2017 15:00:39 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-13.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 25 Jul 2017 15:00:39 -0000 X-IronPort-AV: E=Sophos;i="5.40,411,1496102400"; d="scan'208";a="441232343" From: Roger Pau Monne To: Date: Tue, 25 Jul 2017 16:00:28 +0100 Message-ID: <20170725150032.9225-2-roger.pau@citrix.com> X-Mailer: git-send-email 2.11.0 (Apple Git-81) In-Reply-To: <20170725150032.9225-1-roger.pau@citrix.com> References: <20170725150032.9225-1-roger.pau@citrix.com> MIME-Version: 1.0 Cc: Ian Jackson , Roger Pau Monne Subject: [Xen-devel] [PATCH v7 11/20] osstest: introduce an OS $ho field 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 In order to differentiate between FreeBSD and Debian hosts. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson --- Changes since v6: - New in this version --- Osstest/TestSupport.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index ce475d81..7642a95b 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -983,6 +983,7 @@ sub selecthost ($) { $ho->{Suite} = target_var($ho, "suite") // $c{DebianSuite}; $ho->{DiVersion} = target_var($ho, "di_version") // cfg_tftp_di_version($ho->{Suite}); + $ho->{Os} = target_var($ho, "os") // "debian"; } #----- handle hosts which are themselves guests (nested) -----