From patchwork Mon Sep 5 14:02:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9313997 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 E902D60B16 for ; Mon, 5 Sep 2016 14:04:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB03B28AAD for ; Mon, 5 Sep 2016 14:04:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C982C28AB8; Mon, 5 Sep 2016 14:04:45 +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 6595D28AB6 for ; Mon, 5 Sep 2016 14:04: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 1bguU3-0004hD-KU; Mon, 05 Sep 2016 14:02:47 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bguU2-0004gI-Nb for xen-devel@lists.xenproject.org; Mon, 05 Sep 2016 14:02:46 +0000 Received: from [85.158.139.211] by server-10.bemta-5.messagelabs.com id 9F/4E-19922-60B7DC75; Mon, 05 Sep 2016 14:02:46 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeJIrShJLcpLzFFi42JxWrrBXpe1+my 4waf5shbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8b6pUIFm3krjmxYytzA+Jqri5GTQ0LAX2Lr 8o3MIDabgK5E05a/bF2MHBwiAioSt/cagJjMAqESO15YglQICyRLPGpdyAZiswBVrFm0lAXE5 hVwl3iybz8LxEQ5ifPHf4JN5BTwkFhzsg0sLgRUc3PWBXaQkUICahJz18dDtApKnJz5BKyEWU BC4uCLF8wQY7glbp+eyjyBkW8WkrJZSMoWMDKtYlQvTi0qSy3SNddLKspMzyjJTczM0TU0MNX LTS0uTkxPzUlMKtZLzs/dxAgMJQYg2MF4bLLzIUZJDiYlUd4C1bPhQnxJ+SmVGYnFGfFFpTmp xYcYZTg4lCR44yuBcoJFqempFWmZOcCghklLcPAoifBuBknzFhck5hZnpkOkTjEqSolDJARAE hmleXBtsEi6xCgrJczLCHSIEE9BalFuZgmq/CtGcQ5GJWHecpApPJl5JXDTXwEtZgJavG73aZ DFJYkIKakGRvGzi489O9mkbnpsvppznLnYy+0PI79WdH3RS3I51/Z0XdqxuUdu9f7W0xTbVGM n92/9hB0916ZyWVTb3s9ZnO+ww+LRlnefWvXOygnt7T8dx5SrdmbDzfOOa9gnXfO7pnBy9usG vgv+0T7L3wmFtnqcuZn3+rOT1W5j5tVqR1bOTHngWXG/qESJpTgj0VCLuag4EQDAFBaEnwIAA A== X-Env-Sender: prvs=0495da155=Ian.Jackson@citrix.com X-Msg-Ref: server-7.tower-206.messagelabs.com!1473084158!57724093!3 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: 8.84; banners=-,-,- X-VirusChecked: Checked Received: (qmail 51236 invoked from network); 5 Sep 2016 14:02:45 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-7.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 5 Sep 2016 14:02:45 -0000 X-IronPort-AV: E=Sophos;i="5.30,286,1470700800"; d="scan'208";a="384415438" From: Ian Jackson To: Date: Mon, 5 Sep 2016 15:02:10 +0100 Message-ID: <1473084154-396-3-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1473084154-396-1-git-send-email-ian.jackson@eu.citrix.com> References: <1473084154-396-1-git-send-email-ian.jackson@eu.citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH 02/26] Executive: Allow out-of-order manipulations of flights intended play 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 Flights being operated on by a developer hacking about with the code, which were created with intended blessing `play', are usually blessed `running' or `broken' or something. So the safety catch bypass needs to look at the intended blessing too. Signed-off-by: Ian Jackson --- Osstest/JobDB/Executive.pm | 6 +++--- README.dev | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Osstest/JobDB/Executive.pm b/Osstest/JobDB/Executive.pm index 51c1ebb..c21eba7 100644 --- a/Osstest/JobDB/Executive.pm +++ b/Osstest/JobDB/Executive.pm @@ -102,14 +102,14 @@ sub dbfl_check ($$) { #method } die unless ref($flok) eq 'ARRAY'; - my ($bless) = $dbh_tests->selectrow_array(<selectrow_array(<