summaryrefslogtreecommitdiffstats
path: root/tests/errors2.sub
blob: 79ef3335046cb4a3347b3ef2bd967f7eaf50bd4a (plain)
1
2
3
set -e
trap 'echo $?' EXIT
echo ${$NO_SUCH_VAR}    # Bad substitution expected here