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