blob: 980970d463e60337274c6aa97f58b2731e294890 (
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 : 155:1: command_atom : ( compound_command | function | simple_command );, at offset 3"* ]]
|