diff options
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 1e4b771fa6..912e1004b2 100644 --- a/lib/spack/spack/test/relocate.py +++ b/lib/spack/spack/test/relocate.py @@ -241,7 +241,7 @@ def test_file_is_relocatable(source_file, is_relocatable): @pytest.mark.requires_executables('patchelf', 'strings', 'file') def test_patchelf_is_relocatable(): - patchelf = spack.relocate._patchelf() + patchelf = os.path.realpath(spack.relocate._patchelf()) assert llnl.util.filesystem.is_exe(patchelf) assert spack.relocate.file_is_relocatable(patchelf) |