about summary refs log tree commit diff
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
parent977e1c75d8fcd7e727d20d8e4ac9b5b79ea9d667 (diff)
parent28e11ac60b91aea5ab4b47c3cc2bf33f00ba53e4 (diff)
downloadzsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.gz
zsh-fb3865514ce52de5b1b2cfa34899a133e76edf78.tar.xz
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