]> git.saurik.com Git - apple/shell_cmds.git/blame - sh/tests/builtins/read7.0
shell_cmds-216.60.1.tar.gz
[apple/shell_cmds.git] / sh / tests / builtins / read7.0
CommitLineData
deb63bfb 1# $FreeBSD: head/bin/sh/tests/builtins/read7.0 250214 2013-05-03 15:28:31Z jilles $
71aad674
A
2
3{ errmsg=`read x <&- 2>&1 >&3`; } 3>&1
4r=$?
5[ "$r" -ge 2 ] && [ "$r" -le 128 ] && [ -n "$errmsg" ]