about summary refs log tree commit diff
path: root/Test/E01options.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-10 18:24:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-10 18:24:17 +0000
commitdfc26195c916d54163a3f0dd2eb159db2d974569 (patch)
tree641d3f6854623e606edc8938ef296aade5c2b0e9 /Test/E01options.ztst
parentc34ad5cce2c4f222ebcaa14fb9bce68d49db1992 (diff)
downloadzsh-dfc26195c916d54163a3f0dd2eb159db2d974569.tar.gz
zsh-dfc26195c916d54163a3f0dd2eb159db2d974569.tar.xz
zsh-dfc26195c916d54163a3f0dd2eb159db2d974569.zip
28617: NO_EXEC option was doing too much work in
parameter subscripting, parameter assignment, and globbing
Diffstat (limited to 'Test/E01options.ztst')
-rw-r--r--Test/E01options.ztst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index be83ceccd..4b53840c6 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -344,6 +344,15 @@
 0:NO_EXEC option
 >before
 
+  (setopt noexec
+  typeset -A hash
+  hash['this is a string'])
+0:NO_EXEC option should not attempt to parse subscripts
+
+  (setopt noexec nomatch
+  echo *NonExistentFile*)
+0:NO_EXEC option should not do globbing
+
   setopt NO_eval_lineno
   eval 'print $LINENO'
   setopt eval_lineno