From 28e11ac60b91aea5ab4b47c3cc2bf33f00ba53e4 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 15 Jan 2020 18:02:32 +0000 Subject: 45305: Add an XFail test: The exec-last-command optimization is applied to try/always. --- ChangeLog | 3 +++ Test/A01grammar.ztst | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7ffdfbcba..2de3f73d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-01-16 Daniel Shahaf + * 45305: Test/A01grammar.ztst: Add an XFail test: The + exec-last-command optimization is applied to try/always. + * 45307: Doc/Zsh/mod_zutil.yo: zstyle docs: Unoverload a placeholder variable name. 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 -- cgit 1.4.1