about summary refs log tree commit diff
path: root/Test/04redirect.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/04redirect.ztst')
-rw-r--r--Test/04redirect.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/04redirect.ztst b/Test/04redirect.ztst
index 37b0915a0..d7156e856 100644
--- a/Test/04redirect.ztst
+++ b/Test/04redirect.ztst
@@ -191,6 +191,11 @@
 1:null redir with NULLCMD unset
 ?ZTST_execchunk:2: redirection with no command
 
+  echo this should still work >out1
+  print "$(<out1)"
+0:null redir in $(...) with NULLCMD unset
+>this should still work
+
   READNULLCMD=cat
   print cat input >out1
   <out1