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