summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2020-01-13 13:00:14 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2020-01-13 13:00:14 -0800
commiteb7a4e1029f9f3a44b494cc21b0679b46f93bb29 (patch)
tree660c3ba200504d9cafb5b8d0d47853fca1ce16d4 /lib
parent5afc407faa2f2937573d96ff51e992096859e473 (diff)
downloadspack-eb7a4e1029f9f3a44b494cc21b0679b46f93bb29.tar.gz
spack-eb7a4e1029f9f3a44b494cc21b0679b46f93bb29.tar.bz2
spack-eb7a4e1029f9f3a44b494cc21b0679b46f93bb29.tar.xz
spack-eb7a4e1029f9f3a44b494cc21b0679b46f93bb29.zip
Fixes #14402 (#14483)
Check if patchelf is executable, not binary, in case a site is wrapping it.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/relocate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/relocate.py b/lib/spack/spack/test/relocate.py
index 9a395ac9d5..113bdcf66a 100644
--- a/lib/spack/spack/test/relocate.py
+++ b/lib/spack/spack/test/relocate.py
@@ -65,7 +65,7 @@ def test_file_is_relocatable(source_file, is_relocatable):
)
def test_patchelf_is_relocatable():
patchelf = spack.relocate.get_patchelf()
- assert spack.relocate.is_binary(patchelf)
+ assert llnl.util.filesystem.is_exe(patchelf)
assert spack.relocate.file_is_relocatable(patchelf)