Bug 2430

Summary: testDetachFork(frysk.proc.TestTaskObserverDetach) ...<<XXX: pending signal USR1>>
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2359    

Description Andrew Cagney 2006-03-07 22:13:55 UTC
The test is leaving a signal dangling.
Comment 1 Andrew Cagney 2006-03-27 03:23:32 UTC
Index: frysk-core/frysk/proc/ChangeLog
2006-03-26  Andrew Cagney  <cagney@redhat.com>

        * TestTaskObserverDetach.java: Check that the ack signal, after a
        fork, clone, or exec, is received.
        * TestTaskObserver.java (detach): Add boolean shouldStillHaveTasks
        making the check for tasks conditional.
        (detachExitingTask): Do not expect any tasks after the detach.
        * TestLib.java (await): Add String, aka reason, parameter.
        (execAck, spawnAck): New.
        (tearDown): Re-implement pehding signal code, to assert that tere
        are no bad pending signals.
        * TaskState.java: When in detaching state, skip terminating,
        terminated, fork, exec, and clone events.