Lines Matching +full:shebang +full:- +full:command
156 # once for each file written :-(
181 # Test that no shebang line is written to the target by default.
191 # Test that a shebang line with a custom interpreter is written
212 # Test that we can read the shebang line correctly.
221 # Test that reading the shebang line of a file without one returns None.
230 # Test that we can change the shebang of a file.
241 # Test that we can change the shebang of a file, writing the result to a
278 # Test that we can remove the shebang from a file.
302 # (Unix only) tests that archives with shebang lines are made executable
307 # Test that an archive with a shebang line is made executable.
318 # Test that an archive with no shebang line is not made executable.
329 """Test zipapp module command line API."""
337 # Test that an archive with no shebang line is not made executable.
346 # Test the basic command line API.
359 args = [str(original), '-o', str(target)]
367 args = [str(original), '-o', str(original)]
370 # Program should exit with a non-zero return code.
377 args = [str(original), '-o', str(target), '-m', 'foo:bar']
380 # Program should exit with a non-zero return code.
385 # Test the output of the info command.
387 args = [str(target), '--info']
395 # Test the info command fails when the archive does not exist.
397 args = [str(target), '--info']
400 # Program should exit with a non-zero return code.