From patchwork Wed May 16 07:10:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 914215 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="DEx1NzsA"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40m5FZ5lkTz9s0y for ; Wed, 16 May 2018 17:11:14 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8B33DC21DA1; Wed, 16 May 2018 07:11:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 20E06C21CB6; Wed, 16 May 2018 07:10:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C4EA8C21C38; Wed, 16 May 2018 07:10:31 +0000 (UTC) Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) by lists.denx.de (Postfix) with ESMTPS id 2D444C21BE5 for ; Wed, 16 May 2018 07:10:31 +0000 (UTC) Received: by mail-it0-f48.google.com with SMTP id q4-v6so8572385ite.3 for ; Wed, 16 May 2018 00:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=HqismpThOjg03riguT/PZaA8WYA6BeYScUliOSxlPLg=; b=DEx1NzsAljlp7pbFDw0xieL7OwkDYOjTURuAMxfNM15IYqsvtYvG7xE+dvTBzZaov7 iBSqKkf5EO+9W8azHKIm3fKTnrUSHxcW9gjyjn8+SW2FewrtiF1DZmh/h4jh6oCfOsZQ UyHNMPIEAq353sIYnhMLhDZRu03US1gqbqg0YSwbEg+AZCQajRvBbkcyC413E5OvHTto HxwORX45fhdMjUdpLa1qlzqMIBMfJkPh2Xu4mWh8OiGUWjDmobqD3PWE8uU+inZ4jV1Z 7bMF8N1zcaz1dUNcA1sDjIr6zlKaQqOBjW+eojbhL0KgXF2ytdv5+CRLuO2fLHfgRjd8 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; bh=HqismpThOjg03riguT/PZaA8WYA6BeYScUliOSxlPLg=; b=YrFvi4QthyODHiq2TxoNXFRwr2F4RJMpHu0nF4VbgSY/+1E6mqvNpoLtMvdse8NFmz MmhrqC14GcBmKFOYnWu85EJBcIR/3e6mqje8tYNUbimppdlEzDBmGf0uyhpEJlgeC0cR h5vFkLnoziW7pOEBTKc00A4DrKPYMf9SWDBHZuCLhGN3aXB3Hl7OoTjpuKIFbmPdEMiM HDjd6BE9PexPNy915jQ486lIESC3sCU5j9/B4euK5iKfS+x1jsjBXF8jWPZWjEmKm3EH PlXTOfsTJTKAChWe2xT/HHOhr9XIkPRkSFIhKC5Kv5V60Q2pfj4emlu2hlQLTTVMqWlD u1uA== X-Gm-Message-State: ALKqPwd+zo9U6ISA9dQQXNj5rdWU5sQ0sOy70zVmp4vu9eKEU1s7OTAF 1CzWsaJ8qfG5gEW2gJI3FczlsCBMqaQ= X-Google-Smtp-Source: AB8JxZopClOPSn/Ucd/mxgkcdPJNQ6tIMhcTnOciINw2ueiOCzFjrlweD6HaK4+RXhKVFsblrahneQ== X-Received: by 2002:a24:410e:: with SMTP id x14-v6mr1501036ita.153.1526454629635; Wed, 16 May 2018 00:10:29 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id r9-v6sm970448ioa.49.2018.05.16.00.10.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 00:10:29 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id ED397141521; Wed, 16 May 2018 01:10:27 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 16 May 2018 01:10:25 -0600 Message-Id: <20180516071025.21270-2-sjg@chromium.org> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog In-Reply-To: <20180516071025.21270-1-sjg@chromium.org> References: <20180516071025.21270-1-sjg@chromium.org> Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH 2/2] test: Fix test_vboot to call openssl without redirection X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The redirection seems to cause this test to fail now. It isn't needed, so drop it. Signed-off-by: Simon Glass --- test/py/tests/test_vboot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index ee939f2034e..3009529c6dc 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @@ -177,8 +177,8 @@ def test_vboot(u_boot_console): public_exponent = 65537 util.run_and_log(cons, 'openssl genpkey -algorithm RSA -out %sdev.key ' '-pkeyopt rsa_keygen_bits:2048 ' - '-pkeyopt rsa_keygen_pubexp:%d ' - '2>/dev/null' % (tmpdir, public_exponent)) + '-pkeyopt rsa_keygen_pubexp:%d' % + (tmpdir, public_exponent)) # Create a certificate containing the public key util.run_and_log(cons, 'openssl req -batch -new -x509 -key %sdev.key -out '