mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
26006: remove dependence on system error message
This commit is contained in:
parent
3e3f31778c
commit
2a4c8c27c6
2 changed files with 13 additions and 2 deletions
|
|
@ -52,9 +52,15 @@
|
|||
# Failure
|
||||
exit 10
|
||||
HERE
|
||||
$ZTST_testdir/../Src/zsh -f ./zsh-trapreturn-bug2
|
||||
$ZTST_testdir/../Src/zsh -f ./zsh-trapreturn-bug2 2>erroutput.dif
|
||||
mystat=$?
|
||||
(
|
||||
setopt extendedglob
|
||||
print ${"$(< erroutput.dif)"%%:[^:]#: ./fdasfsdafd}
|
||||
)
|
||||
(( mystat == 0 ))
|
||||
0: trapreturn handling bug is properly fixed
|
||||
?./zsh-trapreturn-bug2:5: no such file or directory: ./fdasfsdafd
|
||||
>./zsh-trapreturn-bug2:5
|
||||
|
||||
fn() {
|
||||
setopt localtraps localoptions debugbeforecmd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue