xref: /freebsd/bin/sh/tests/errors/script-error1.0 (revision 05427f4639bcf2703329a9be9d25ec09bb782742)
1
2{ stderr=$(${SH} /var/empty/nosuchscript 2>&1 >&3); } 3>&1
3r=$?
4[ -n "$stderr" ] && [ "$r" = 127 ]
5