summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2023-02-14 09:21:19 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2023-02-14 09:21:32 +0000
commit7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f (patch)
tree25403174293198d6f5bebe00597cab2d5ec928ae /Test
parent51430: Misc. problems with typeset and $parameters (diff)
downloadzsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.gz
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.bz2
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.lz
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.xz
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.zst
zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.zip
51424: $(<...) shouldn't try to open a file with NO_EXEC
Diffstat (limited to 'Test')
-rw-r--r--Test/E01options.ztst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/E01options.ztst b/Test/E01options.ztst
index d38fbed74..533e08773 100644
--- a/Test/E01options.ztst
+++ b/Test/E01options.ztst
@@ -416,6 +416,9 @@
1:NO_EXEC does recognize bad substitution syntax
*?* bad substitution
+ (setopt noexec; : $(<nonexistentfile))
+0:NO_EXEC does not attempt to read files in $(<....)
+
setopt NO_eval_lineno
eval 'print $LINENO'
setopt eval_lineno