about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-07-01 15:23:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-07-01 15:23:01 +0000
commitad29258c8c2785796d3149c6c230e55d9debc82b (patch)
tree83b8c7e4028779c51b09f57899dc4c83807305b2 /Test/E01options.ztst
parent47347fc7d7decb08155abbeebdbeed4fc7ace6d9 (diff)
downloadzsh-ad29258c8c2785796d3149c6c230e55d9debc82b.tar.gz
zsh-ad29258c8c2785796d3149c6c230e55d9debc82b.tar.xz
zsh-ad29258c8c2785796d3149c6c230e55d9debc82b.zip
29530: ${...?...} shouldn't cause an error with NO_EXEC option
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index 4b53840c6..1bbfdbda1 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -353,6 +353,10 @@
   echo *NonExistentFile*)
 0:NO_EXEC option should not do globbing
 
+  (setopt noexec
+  echo ${unset_var?Not an error})
+0:NO_EXEC should not test for unset variables
+
   setopt NO_eval_lineno
   eval 'print $LINENO'
   setopt eval_lineno