From a89f0559c210def9a40bfeb9da6b38128a49cb55 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 7 Jan 2011 10:05:35 +0000 Subject: 28590: make read return status non-zero on error --- Test/B04read.ztst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Test/B04read.ztst') diff --git a/Test/B04read.ztst b/Test/B04read.ztst index 2c87aa67a..ad427dc0d 100644 --- a/Test/B04read.ztst +++ b/Test/B04read.ztst @@ -88,3 +88,8 @@ print ${#line} 0:read with trailing metafied characters >24 + + (typeset -r foo + read foo) <<