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