aboutsummaryrefslogtreecommitdiff
blob: 9355ad4acdb4ba677ea7d47bb6fd5af0c93e94b5 (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 : 164:1: command_atom : ( compound_command | function | simple_command );, at offset 3"* ]]