xref: /freebsd/bin/sh/tests/errors/backquote-error2.0 (revision fed1ca4b719c56c930f2259d80663cd34be812bb)
1# $FreeBSD$
2
3${SH} -c 'echo `echo .BA"DCODE.`
4echo ".BAD"CODE.' 2>&1 | grep -q BADCODE && exit 1
5echo '`"`' | ${SH} -n 2>/dev/null && exit 1
6echo '`'"'"'`' | ${SH} -n 2>/dev/null && exit 1
7exit 0
8