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