xref: /freebsd/bin/sh/tests/errors/backquote-error2.0 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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