Skip to content
Snippets Groups Projects
Commit c5da94eb authored by Chris Green's avatar Chris Green Committed by Adam J. Stewart
Browse files

Armor test script against shebang character limit if appropriate. (#12447)

parent 46617b6f
Branches
Tags
No related merge requests found
......@@ -8,6 +8,7 @@
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 @@ def test_read_unicode(tmpdir):
# 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment