mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 05:31:19 +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
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-04 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 26006: Test/C05debug.ztst: remove dependence on system
|
||||||
|
error message.
|
||||||
|
|
||||||
2008-11-03 Peter Stephenson <pws@csr.com>
|
2008-11-03 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
* unposted: Config/version.mk: update version to 4.3.9-dev-0.
|
* unposted: Config/version.mk: update version to 4.3.9-dev-0.
|
||||||
|
|
|
@ -52,9 +52,15 @@
|
||||||
# Failure
|
# Failure
|
||||||
exit 10
|
exit 10
|
||||||
HERE
|
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
|
0: trapreturn handling bug is properly fixed
|
||||||
?./zsh-trapreturn-bug2:5: no such file or directory: ./fdasfsdafd
|
>./zsh-trapreturn-bug2:5
|
||||||
|
|
||||||
fn() {
|
fn() {
|
||||||
setopt localtraps localoptions debugbeforecmd
|
setopt localtraps localoptions debugbeforecmd
|
||||||
|
|
Loading…
Reference in a new issue