Item9349: testCase::captureSTD is not exception safe.
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
quite alot of the tests that use the capture code also rely on results that are oops exceptions. This causes a bad sideeffect, in which the STDERR and STDOUT are still being redirected, because the function being called throws an exception.
eg, add a
print STDERR
after the catch blocks in the
ManagePmTests..
--
SvenDowideit - 19 Jul 2010
i have a patch i'm testing atm
--
SvenDowideit - 19 Jul 2010
works on 5.10.0 (build box) and my devel - hope to hear more good news.
--
SvenDowideit - 20 Jul 2010