Bug 2432

Summary: in frysk.proc.TestLib, enable assertion of no dangling signals
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
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:16:55 UTC
The code currently reads:

        // XXX: This should be an assert; until the bugs are fixed, it
        // can't be.
        int[] checkSigs = new int[] { Sig.USR1, Sig.USR2 };
        for (int i = 0; i < checkSigs.length; i++) {
            int sig = checkSigs[i];
            // assertFalse ("pending signal", pending.contains (sig));
            if (pending.contains (sig)) {
                System.out.print ("<<XXX: pending signal "
                                  + Sig.toPrintString (sig)
                                  + ">>");
            }
        }
Comment 1 Andrew Cagney 2006-05-30 06:50:48 UTC
2006-03-26  Andrew Cagney  <cagney@redhat.com>

        * TestLib.java (tearDown): Re-implement pehding signal code, to assert
that tere are no bad pending signals.