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