aboutsummaryrefslogtreecommitdiff
blob: 4bb04655cf8a29dc1c2853cca6038476229f04c9 (plain)
1
2
3
4
5
#!/bin/sh

illegal="${srcdir}/scripts/illegal_script.sh"
output=$(./variable_printer "$illegal" 2>&1)
[[ $output == "${illegal}(1)  : error 3 : "???":1: command_atom : ( compound_command | function | simple_command );, at offset 3"* ]]