diff options
Diffstat (limited to 'bin/sh/tests/errors/script-error1.0')
-rw-r--r-- | bin/sh/tests/errors/script-error1.0 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/sh/tests/errors/script-error1.0 b/bin/sh/tests/errors/script-error1.0 new file mode 100644 index 000000000000..558d9007353f --- /dev/null +++ b/bin/sh/tests/errors/script-error1.0 @@ -0,0 +1,5 @@ +# $FreeBSD$ + +{ stderr=$(${SH} /var/empty/nosuchscript 2>&1 >&3); } 3>&1 +r=$? +[ -n "$stderr" ] && [ "$r" = 127 ] |