1
0
Fork 0
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:
Peter Stephenson 2008-11-04 09:51:21 +00:00
parent 3e3f31778c
commit 2a4c8c27c6
2 changed files with 13 additions and 2 deletions

View file

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