From eb7a4e1029f9f3a44b494cc21b0679b46f93bb29 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Mon, 13 Jan 2020 13:00:14 -0800 Subject: Fixes #14402 (#14483) Check if patchelf is executable, not binary, in case a site is wrapping it. --- lib/spack/spack/test/relocate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3-70-g09d2