Test "sigaction: support for SA_RESETHAND on x86_64" on arm64
Change-Id: I6154134d53d1ee0344e4bc344f302ffaf810c618 Refs: #1031
This commit is contained in:
committed by
Masamichi Takagi
parent
739472bd86
commit
9e57db5427
105
test/mng_mod/issues/1031/x86_64/result.log
Normal file
105
test/mng_mod/issues/1031/x86_64/result.log
Normal file
@ -0,0 +1,105 @@
|
||||
①Issueで報告されたテストプログラムによる確認
|
||||
$ mcexec ./test_mck -s rt_sigaction -n 4
|
||||
TEST_SUITE: rt_sigaction
|
||||
TEST_NUMBER: 4
|
||||
ARGS:
|
||||
/-------- Signal handler will activate -------/
|
||||
sig#10 is handled.
|
||||
/------ Process will terminate by signal -----/
|
||||
Terminate by signal 10
|
||||
User defined signal 1
|
||||
|
||||
②McKernelでのsigaction()の基本動作確認
|
||||
/home/satoken/ppos/bin/mcexec ./CT_001
|
||||
*** CT_001 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
send 2nd SIGUSR1
|
||||
[OK] child is killed by SIGUSR1
|
||||
*** CT_001 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_002
|
||||
*** CT_002 start *******************************
|
||||
[OK] sigaction (no SA_RESETHAND)
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
send 2nd SIGUSR1
|
||||
[OK] invoked test_handler again
|
||||
[OK] child exited normaly
|
||||
*** CT_002 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_003
|
||||
*** CT_003 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
[OK] sigaction (rewrite no SA_RESETHAND)
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
send 2nd SIGUSR1
|
||||
[OK] invoked test_handler again
|
||||
[OK] child exited normaly
|
||||
*** CT_003 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_004
|
||||
*** CT_004 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND to SIGUSR1
|
||||
[OK] sigaction with SA_RESETHAND to SIGUSR2
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
send 1st SIGUSR2
|
||||
[OK] invoked test_handler2
|
||||
send 2nd SIGUSR1
|
||||
[OK] child is killed by SIGUSR1
|
||||
*** CT_004 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_005
|
||||
*** CT_005 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
send 1st SIGUSR1
|
||||
[OK] invoked test_handler
|
||||
[OK] sigaction with SA_RESETHAND again
|
||||
send 2nd SIGUSR1
|
||||
[OK] invoked test_handler again
|
||||
send 3rd SIGUSR1
|
||||
[OK] child is killed by SIGUSR1
|
||||
*** CT_005 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_006
|
||||
*** CT_006 start *******************************
|
||||
[OK] sigaction with SA_RESETHAND
|
||||
[OK] sigaction to get current action
|
||||
[OK] check current act
|
||||
*** CT_006 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_007
|
||||
*** CT_007 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_007 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_008
|
||||
*** CT_008 start *******************************
|
||||
[OK] sigaction 0 failed
|
||||
[OK] sigaction _NSIG failed
|
||||
[OK] sigaction SIGKILL failed
|
||||
[OK] sigaction SIGSTOP failed
|
||||
*** CT_008 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_009
|
||||
*** CT_009 start *******************************
|
||||
[OK] sigaction to get SIGKILL action
|
||||
[OK] check SIGKILL act
|
||||
[OK] sigaction to get SIGSTOP action
|
||||
[OK] check SIGSTOP act
|
||||
*** CT_009 PASSED
|
||||
|
||||
/home/satoken/ppos/bin/mcexec ./CT_010
|
||||
*** CT_010 start *******************************
|
||||
[OK] SIGUSR1 is valid
|
||||
[OK] SIGKILL is valid
|
||||
[OK] SIGSTOP is valid
|
||||
[OK] _NSIG is invalid
|
||||
*** CT_010 PASSED
|
||||
Reference in New Issue
Block a user