test: Add testcase for #1111
Refs: #1111 Change-Id: Ifdf25a9ce98ef495200daf1c24d7ac2c81b3ef17
This commit is contained in:
committed by
Masamichi Takagi
parent
04e54ead5d
commit
c6cc0bf07a
45
test/issues/1111/result.log
Normal file
45
test/issues/1111/result.log
Normal file
@@ -0,0 +1,45 @@
|
||||
*** RT_001 start *******************************
|
||||
TEST_SUITE: rt_sigaction
|
||||
TEST_NUMBER: 5
|
||||
ARGS:
|
||||
sigaction(-1) = -1 (errno=22)
|
||||
sigaction(65) = -1 (errno=22)
|
||||
sigaction(9) = -1 (errno=22)
|
||||
sigaction(19) = -1 (errno=22)
|
||||
RESULT: ok
|
||||
*** RT_001: PASSED
|
||||
|
||||
*** CT_001 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
[OK] sigaction to get current action
|
||||
[OK] check current act
|
||||
*** CT_001 PASSED
|
||||
|
||||
*** CT_002 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
[OK] sigaction to get current action
|
||||
[OK] check current act (after reset)
|
||||
*** CT_002 PASSED
|
||||
|
||||
*** CT_003 start *******************************
|
||||
[OK] sigaction 0 failed
|
||||
[OK] sigaction _NSIG failed
|
||||
[OK] sigaction SIGKILL failed
|
||||
[OK] sigaction SIGSTOP failed
|
||||
*** CT_003 PASSED
|
||||
|
||||
*** CT_004 start *******************************
|
||||
[OK] sigaction to get SIGKILL action
|
||||
[OK] check SIGKILL act
|
||||
[OK] sigaction to get SIGSTOP action
|
||||
[OK] check SIGSTOP act
|
||||
*** CT_004 PASSED
|
||||
|
||||
*** CT_005 start *******************************
|
||||
[OK] SIGUSR1 is valid
|
||||
[OK] SIGKILL is valid
|
||||
[OK] SIGSTOP is valid
|
||||
[OK] _NSIG is invalid
|
||||
*** CT_005 PASSED
|
||||
Reference in New Issue
Block a user