summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/util/executable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/test/util/executable.py b/lib/spack/spack/test/util/executable.py
index 054cdbfccd..1a9b636a7e 100644
--- a/lib/spack/spack/test/util/executable.py
+++ b/lib/spack/spack/test/util/executable.py
@@ -8,6 +8,7 @@ import sys
import llnl.util.filesystem as fs
import spack.util.executable as ex
+from spack.hooks.sbang import filter_shebangs_in_directory
def test_read_unicode(tmpdir):
@@ -28,6 +29,7 @@ print(u'\\xc3')
# make it executable
fs.set_executable(script_name)
+ filter_shebangs_in_directory('.', [script_name])
# read the unicode back in and see whether things work
script = ex.Executable('./%s' % script_name)