diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-01-07 10:05:35 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-01-07 10:05:35 +0000 |
commit | a89f0559c210def9a40bfeb9da6b38128a49cb55 (patch) | |
tree | aa6bb2e44e5e7a842c4d78be3a71c6854b12b2ea /Test/B04read.ztst | |
parent | 21ee383e28f1e0fb31be0aa0c2d9a0cba26ccc8e (diff) | |
download | zsh-a89f0559c210def9a40bfeb9da6b38128a49cb55.tar.gz zsh-a89f0559c210def9a40bfeb9da6b38128a49cb55.tar.xz zsh-a89f0559c210def9a40bfeb9da6b38128a49cb55.zip |
28590: make read return status non-zero on error
Diffstat (limited to 'Test/B04read.ztst')
-rw-r--r-- | Test/B04read.ztst | 5 |
1 files changed, 5 insertions, 0 deletions
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) <<<bar +1:return status on failing to set parameter +?(eval):2: read-only variable: foo |