about summary refs log tree commit diff
path: root/Test/B04read.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/B04read.ztst')
-rw-r--r--Test/B04read.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/B04read.ztst b/Test/B04read.ztst
index 96adf51c7..14bdaeef5 100644
--- a/Test/B04read.ztst
+++ b/Test/B04read.ztst
@@ -82,6 +82,10 @@
 >Testing the
 >null hypothesis
 
+ read -ed '' <<<$'one\0two'
+0:empty delimiter terminates at nulls
+>one
+
  print -n $'first line\x80second line\x80' |
  while read -d $'\x80' line; do print $line; done
 0:read with a delimiter >= 0x80