about summary refs log tree commit diff
path: root/Test/V08zpty.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/V08zpty.ztst')
-rw-r--r--Test/V08zpty.ztst10
1 files changed, 9 insertions, 1 deletions
diff --git a/Test/V08zpty.ztst b/Test/V08zpty.ztst
index d9d24c5e8..5b08fc281 100644
--- a/Test/V08zpty.ztst
+++ b/Test/V08zpty.ztst
@@ -12,9 +12,17 @@
 %test
 
   zpty cat cat
+  zpty -w cat a line of text
+  var=
+  zpty -r cat var && print -r -- ${var%%$'\r\n'}
+  zpty -d cat
+0:zpty with a process that does not set up the terminal: internal write
+>a line of text
+
+  zpty cat cat
   print a line of text | zpty -w cat
   var=
   zpty -r cat var && print -r -- ${var%%$'\r\n'}
   zpty -d cat
-0:zpty with a process that does not set up the terminal
+0:zpty with a process that does not set up the terminal: write via stdin
 >a line of text