about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/B04read.ztst5
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