| import lit | |
| # Check multiple commands, and check newlines. | |
| preamble_commands = ['echo "THIS WAS"', 'echo\n"INJECTED"'] | |
| config.name = "shtest-inject" | |
| config.suffixes = [".txt"] | |
| config.test_format = lit.formats.ShTest(preamble_commands=preamble_commands) | |
| config.test_source_root = None | |
| config.test_exec_root = None |