# HG changeset patch # User Alain Mazy # Date 1790328020 -7200 # Node ID 7c0587d83f6e81eba5bdb4303b0b398d8c06d807 # Parent f3ae656ba5f21f509c2d0746c7a37507bb13f186 find_executable in /usr/bin too to avoid using the pynetdicom version diff -r f3ae656ba5f2 -r 7c0587d83f6e NewTests/helpers.py --- a/NewTests/helpers.py Fri Sep 25 09:05:43 2026 +0200 +++ b/NewTests/helpers.py Fri Sep 25 11:20:20 2026 +0200 @@ -89,6 +89,10 @@ @classmethod def find_executable(cls, name): + p = os.path.join('/usr/bin', name) + if os.path.isfile(p): + return p + p = os.path.join('/usr/local/bin', name) if os.path.isfile(p): return p diff -r f3ae656ba5f2 -r 7c0587d83f6e Tests/Toolbox.py --- a/Tests/Toolbox.py Fri Sep 25 09:05:43 2026 +0200 +++ b/Tests/Toolbox.py Fri Sep 25 11:20:20 2026 +0200 @@ -337,6 +337,10 @@ return m.groups()[0] def FindExecutable(name): + p = os.path.join('/usr/bin', name) + if os.path.isfile(p): + return p + p = os.path.join('/usr/local/bin', name) if os.path.isfile(p): return p