Lines Matching refs:SIGUSR1
11 * Test 1: Suppress handling SIGUSR1 and SIGUSR1, raise them and assert their
72 sigaddset(&only_SIGUSR, SIGUSR1);
76 old_sighandler1 = SAFE_SIGNAL(SIGUSR1, sighandler);
90 if (raise(SIGUSR1))
91 tst_brk(TBROK, "raising SIGUSR1 failed");
96 /* now we should have exactly one pending signal (SIGUSR1) */
100 if ((i == SIGUSR1) != sigismember(&pending, i))
101 tst_brk(TFAIL, "only SIGUSR1 should be pending by now");
110 /* now we should have exactly two pending signals (SIGUSR1, SIGUSR2) */
114 if ((i == SIGUSR1 || i == SIGUSR2) != sigismember(&pending, i))
116 "only SIGUSR1, SIGUSR2 should be pending by now");
130 SAFE_SIGNAL(SIGUSR1, old_sighandler1);