summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:22 +0000
commit5a5de6ea3962782b02221b96b27dd064b25d381f (patch)
tree6138b29ea914e803d8430f444a764b7d29f8df12 /packages/Python/lldbsuite/test/lldbtest.py
parentb76161e41bc2c07cd47f9c61f875d1be95e26d10 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--packages/Python/lldbsuite/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/lldbtest.py b/packages/Python/lldbsuite/test/lldbtest.py
index bc0fb1b686adb..f1d65cf2076db 100644
--- a/packages/Python/lldbsuite/test/lldbtest.py
+++ b/packages/Python/lldbsuite/test/lldbtest.py
@@ -1934,7 +1934,7 @@ class TestBase(Base):
# "libFoo.dylib" or "libFoo.so", or "Foo.so" for "Foo.so" or "libFoo.so", or just a
# basename like "libFoo.so". So figure out which one it is and resolve the local copy
# of the shared library accordingly
- if os.path.exists(name):
+ if os.path.isfile(name):
local_shlib_path = name # name is the full path to the local shared library
else:
# Check relative names