diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-14 09:21:19 +0000 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-14 09:21:32 +0000 |
commit | 7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f (patch) | |
tree | 25403174293198d6f5bebe00597cab2d5ec928ae /Test | |
parent | 03887bb03fbca246fa94b5b5f2266572c0b6d038 (diff) | |
download | zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.gz zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.tar.xz zsh-7e0c4406ceba1e021bf37680d6a6b8dcd3dd657f.zip |
51424: $(<...) shouldn't try to open a file with NO_EXEC
Diffstat (limited to 'Test')
-rw-r--r-- | Test/E01options.ztst | 3 |
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 |