aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-07-20 15:34:09 +0900
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-22 12:32:42 +0200
commitd09745b1967708bffbbc5ba466753df638000d40 (patch)
tree5b4122b110b1a6e790bd082ba149c222df854214 /test
parentaf457cfca9ddabc9971a5fa4e748633be42c8a9d (diff)
downloadu-boot-d09745b1967708bffbbc5ba466753df638000d40.zip
u-boot-d09745b1967708bffbbc5ba466753df638000d40.tar.gz
u-boot-d09745b1967708bffbbc5ba466753df638000d40.tar.bz2
test/py: efi_secboot: remove unused function
'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> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_efi_secboot/conftest.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/py/tests/test_efi_secboot/conftest.py b/test/py/tests/test_efi_secboot/conftest.py
index c670970..4073732 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