You are here: Foswiki>Tasks Web>Item9349 (20 Jul 2010, SvenDowideit)Edit Attach

Item9349: testCase::captureSTD is not exception safe.

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: SvenDowideit
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

 

ItemTemplate edit

Summary testCase::captureSTD is not exception safe.
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:ecf008ea6218
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r3 - 20 Jul 2010, SvenDowideit
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy