summaryrefslogblamecommitdiffstats
path: root/testsuites/psxtests/psxsignal03/psxsignal03.scn
blob: 60847c8d51ea3ad78c21690a5a7386d83faf3b99 (plain) (tree)
1
2
3
4
5
6
7
8
                            
                                 


                                      
                                    
                               
                                    






                                                     
                                              

                                   
*** POSIX TEST SIGNAL 03 ***
Init - Variation is: User Signals
Init - sleep - let threads settle - OK
SignalNotBlocked - Unblock SIGUSR1
SignalNotBlocked - Unblock SIGUSR2
SIGUSR1 - Wait for SIGUSR2 unblocked
SignalBlocked - Unblock SIGUSR1
SIGUSR1 - Wait for SIGUSR1 unblocked
Init - sleep - SignalBlocked thread settle - OK
Init - sending SIGUSR2 - deliver to one thread
Init - sending SIGUSR2 - deliver to other thread
Init - sending SIGUSR2 - expect EAGAIN
Init - sleep - let thread report if it unblocked - OK
SignalNotBlocked - siginfo.si_signo=26
SignalNotBlocked - siginfo.si_code=1
SignalNotBlocked - siginfo.si_value=0x02027fd4
SignalNotBlocked - exiting
*** END OF POSIX TEST SIGNAL 03 ***