summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2020-01-16 18:21:41 +0000
committerDaniel Shahaf <danielsh@apache.org>2020-01-16 18:21:41 +0000
commitfb3865514ce52de5b1b2cfa34899a133e76edf78 (patch)
treea23af3c43522e1525054435b6bcf7eec3f3ee7b8 /Test
parent45292: D02glob: Add regression test for macOS stat(2) misbehaviour (diff)
parent45305: Add an XFail test: The exec-last-command optimization is applied to tr... (diff)
downloadzsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.gz
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.bz2
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.lz
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.xz
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.zst
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.zip
Merge branch 'master' into 5.9
* master: 45305: Add an XFail test: The exec-last-command optimization is applied to try/always. 45307: zstyle docs: Unoverload a placeholder variable name. 45306: zstyle docs: Introduce the first synopsis in the same way as all others: with an item()(). unposted: docs: Fix a cross-reference.
Diffstat (limited to 'Test')
-rw-r--r--Test/A01grammar.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst
index d3a591761..1e0e9a04e 100644
--- a/Test/A01grammar.ztst
+++ b/Test/A01grammar.ztst
@@ -928,3 +928,7 @@ F:Note that the behaviour of 'exit' inside try-list inside a function is unspeci
>PIPE
>and true
>or false
+
+ $ZTST_testdir/../Src/zsh -fc '{ ( ) } always { echo foo }'
+-f:exec last command optimization inhibited for try/always
+>foo