Bug 2432 - in frysk.proc.TestLib, enable assertion of no dangling signals
Summary: in frysk.proc.TestLib, enable assertion of no dangling signals
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2359
  Show dependency treegraph
 
Reported: 2006-03-07 22:16 UTC by Andrew Cagney
Modified: 2006-05-30 06:50 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.