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