about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/04redirect.ztst5
-rw-r--r--Test/07cond.ztst9
2 files changed, 14 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
diff --git a/Test/07cond.ztst b/Test/07cond.ztst
index aba12030b..f4127072f 100644
--- a/Test/07cond.ztst
+++ b/Test/07cond.ztst
@@ -140,3 +140,12 @@
 
   [[ -e /dev/fd/0 ]]
 0:/dev/fd support in conds
+
+  [[ ( -z foo && -z foo ) || -z foo ]]
+1:complex conds with skipping
+
+  [ '' != bar -a '' = '' ]
+0:strings with `[' builtin
+
+  [ `echo 0` -lt `echo 1` ]
+0:substituion in `[' builtin