diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2020-01-13 13:00:14 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-01-13 13:00:14 -0800 |
commit | eb7a4e1029f9f3a44b494cc21b0679b46f93bb29 (patch) | |
tree | 660c3ba200504d9cafb5b8d0d47853fca1ce16d4 /lib | |
parent | 5afc407faa2f2937573d96ff51e992096859e473 (diff) | |
download | spack-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.py | 2 |
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) |