From patchwork Mon Jul 20 06:34:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 235756 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1709095ilg; Sun, 19 Jul 2020 23:34:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzCF60kZEKq3W9aa9s6XdHOJdTugLPmVlcPsk1cFa8Hw0SL+fjIEzfCfd9Ou+M06vBVDG4 X-Received: by 2002:a05:6402:8da:: with SMTP id d26mr20459310edz.109.1595226872407; Sun, 19 Jul 2020 23:34:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595226872; cv=none; d=google.com; s=arc-20160816; b=tipnUYiEHO+2gfLWfKy4XZIzuUKLbEX3XNAbyD4F/A19ZKxQEJgWw1FTIXb5o9KHgv VkYefHI6f+sBa2FTlKBgKyoRPd7XU/Oj9kf0RCD55e6ZrTDZYcDda2O9Ynz6HicJhNvT WFtCK0q4RWjEJfaoACgwIhgSl0aNL76ygK71WcJgv18F56upIG5kDsglMhh6M/fDAtbT SYnjQPL/2EIUn2hBjLa7R3NFGbWP+UkVyt07ofhgRMVgq0LKwIUvzfc1VGVtj4q9l9vw OCapG8MqmfAuz3FspUNOrJujKGtUz4aORWLzSTyX4Crv1DeTxd1x6NXNOymVN/ZM3N+X D2oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=84bRuQor4NdpN4kP5s2bDHCr/UhVngXcLn9qFqfNg4c=; b=UoE9iRjdQr+bjuxiE5xslffhOF4MT7EN1eoJ+4hu2yTyOvtn6i7PvIlrTIBZ/EOnlQ XcFpU+BmMpRJly+9LuYPPBj0ysDcO6AtdS1tKslnH477vDkaEpXNNEBwiDosc2khAAUQ eZKLuTsE9Ptj6x4zy05YzEye91Czl+3ZnNdeBpQq3rtFT0x/DJzEkBCif657mka5Og81 nQw1di/d2e0kRFJkq04TuakDyVzO8Kzo6zXAEJucfSIcvmt0r4ld8NseZ/4iLD+UkHxe y5x9aqFkTfXMCUUfqLzUiP7HVGtEzCO4UXuTfOxFz53d3Vqw9hoiA24qwSbdtBcfR/pc YyKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="d2NtXV/C"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id w24si9819709edv.318.2020.07.19.23.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 23:34:32 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="d2NtXV/C"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7C97A81F88; Mon, 20 Jul 2020 08:34:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="d2NtXV/C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C9FA682179; Mon, 20 Jul 2020 08:34:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8BCCA81D9E for ; Mon, 20 Jul 2020 08:34:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pl1-x631.google.com with SMTP id k5so8207486plk.13 for ; Sun, 19 Jul 2020 23:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=84bRuQor4NdpN4kP5s2bDHCr/UhVngXcLn9qFqfNg4c=; b=d2NtXV/ChZb8POue2e5kg0Sh7muAXAndQB3a4TWCbh5iFPguydpTMK31vXQTKvLjyN iNsXLAe4ICjUy8Qi76c9HTQoXTf7Mv5ef5XTNJ3+fj7fCLB1cTn9dQyvOovouOAhHuoH La03VVR4XZ/PF6YjdxhYbU99mr4Na8x3cHbYDSS+1JyU6WSbytZj8yOKiuruexKzc/Tx k5KZv6OmQoQ2LNRoAFu56miGw6tSnOVhtj+17wQXI566ClE6dA3gjcBi+tQbLDaRjBcs QJHwWVDbl61/8XJkG5sge+pghgGwlMIXBc3Eg/IC3Xnf2eAMPvNX/V6ANu1oHJ4DsbQz 7zCA== 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:mime-version :content-transfer-encoding; bh=84bRuQor4NdpN4kP5s2bDHCr/UhVngXcLn9qFqfNg4c=; b=ZB8VaVJX5BATbLBSqS5fI7LbHrbjcGgRXDw0x1Zgg6ZrrAVsTzTcuFWiabRAv/Jbqf 7O9Bzwc76O1JGdaSRt/dQ7DNe1fdgOtfe1fJYET2b7D/GzfFYX2QlA6JBR1okft4gC2J LYr7/IPvPSQe2NpS/7F/K4ONeupiCDJ8fTuO4dppt5f/p1hemd6Ao+jNaczgAal6NzYu wQACdjopk2zbzD2Y7rIJsk3WiDxtBq6lrD7VbMvF10d59CHKujv3brPIn/LXdhKsmrwK 5F2JkAzlwTdMx/sPppL6IoGard37N7sYi8HaBGEmOuNcim7UzHCKMJUdcBRIBUA9ftIv RPow== X-Gm-Message-State: AOAM531OneEc0bARxH/PH4rwbi+ik8kDPfrcWep9Ee48kjz7F4etuVUp r6Fu2ppORYKu77Wa8FfW0pZi7A== X-Received: by 2002:a17:90b:3683:: with SMTP id mj3mr21901250pjb.91.1595226860079; Sun, 19 Jul 2020 23:34:20 -0700 (PDT) Received: from localhost.localdomain (p6e424d9a.tkyea130.ap.so-net.ne.jp. [110.66.77.154]) by smtp.gmail.com with ESMTPSA id x10sm13638982pgp.47.2020.07.19.23.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2020 23:34:19 -0700 (PDT) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH] test/py: efi_secboot: remove unused function Date: Mon, 20 Jul 2020 15:34:09 +0900 Message-Id: <20200720063409.14062-1-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean 'tool_is_in_path' function is no longer used anywhere after Heinrich has removed 'sudo' version of fixture setup. Signed-off-by: AKASHI Takahiro --- test/py/tests/test_efi_secboot/conftest.py | 9 --------- 1 file changed, 9 deletions(-) -- 2.27.0 diff --git a/test/py/tests/test_efi_secboot/conftest.py b/test/py/tests/test_efi_secboot/conftest.py index 6c1ea2dcb684..c0943b62501d 100644 --- a/test/py/tests/test_efi_secboot/conftest.py +++ b/test/py/tests/test_efi_secboot/conftest.py @@ -8,15 +8,6 @@ from subprocess import call, check_call, check_output, CalledProcessError import pytest from defs import * -# from test/py/conftest.py - - -def tool_is_in_path(tool): - for path in os.environ["PATH"].split(os.pathsep): - full_path = os.path.join(path, tool) - if os.path.isfile(full_path) and os.access(full_path, os.X_OK): - return True - return False # # Fixture for UEFI secure boot test