1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

45305: Add an XFail test: The exec-last-command optimization is applied to try/always.

This commit is contained in:
Daniel Shahaf 2020-01-15 18:02:32 +00:00
parent 0a7bfc0bd2
commit 28e11ac60b
2 changed files with 7 additions and 0 deletions

View file

@ -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