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