All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test/py: efi_secboot: remove unused function
@ 2020-07-20  6:34 AKASHI Takahiro
  0 siblings, 0 replies; only message in thread
From: AKASHI Takahiro @ 2020-07-20  6:34 UTC (permalink / raw
  To: u-boot

'tool_is_in_path' function is no longer used anywhere after Heinrich
has removed 'sudo' version of fixture setup.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
---
 test/py/tests/test_efi_secboot/conftest.py | 9 ---------
 1 file changed, 9 deletions(-)

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
-- 
2.27.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-20  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-20  6:34 [PATCH] test/py: efi_secboot: remove unused function AKASHI Takahiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.