xref: /freebsd/bin/sh/tests/execution/set-n1.0 (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1# $FreeBSD$
2
3v=$( ($SH -n <<'EOF'
4for
5EOF
6) 2>&1 >/dev/null)
7[ $? -ne 0 ] && [ -n "$v" ]
8