提交 3db30d33 编写于 作者: D dhy308

Fix review issues.

Issue: I6AEEI
Test: Build & Boot Devices
Signed-off-by: Ndhy308 <tony.gan@huawei.com>
上级 846e7299
......@@ -33,8 +33,7 @@ static bool sigchain_special_handler(int signo, siginfo_t *siginfo, void *uconte
/**
* @tc.name : sigchain_add_special_handler_001
* @tc.desc : Add a special handler for a signal that is not registered with
* the kernel in sigchain.
* @tc.desc : Call add_special_signal_handler when the signal that is not registered with the kernel
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_001()
......
......@@ -44,8 +44,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_add_special_handler_002
* @tc.desc : Add a special handler for a signal that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : Call add_special_signal_handler after the signal that is registered with
* the kernel (using signal)
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_002()
......
......@@ -42,8 +42,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_add_special_handler_003
* @tc.desc : Add a special handler for a signal that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : Call add_special_signal_handler after the signal that is registered with
* the kernel (using sigaction)
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_003()
......
......@@ -43,8 +43,8 @@ static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucont
/**
* @tc.name : sigchain_add_special_handler_004
* @tc.desc : Add multiple special handlers for a signal that is not registered with
* the kernel in sigchain.
* @tc.desc : The signal are not registered with the kernel, call add_special_signal_handler to add
* two special handlers
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_004()
......
......@@ -52,8 +52,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_add_special_handler_005
* @tc.desc : Add multiple special handlers for a signal that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : The signal are registered with the kernel(Using signal), call
* add_special_signal_handler to add two special handlers
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_005()
......@@ -73,7 +73,7 @@ static void sigchain_add_special_handler_005()
.sca_flags = 0,
};
add_special_signal_handler(SIGABRT, &sigabrt1);
if (get_sigchain_mask_enable()) {
sigset_t set = {0};
int signo[SIGCHIAN_TEST_SIGNAL_NUM_1] = {SIGABRT};
......
......@@ -52,8 +52,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_add_special_handler_006
* @tc.desc : Add multiple special handlers for a signal that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : the signal that are registered with the kernel(Using sigaction), call
* add_special_signal_handler to add two special handlers
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_006()
......
......@@ -43,8 +43,7 @@ static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucont
/**
* @tc.name : sigchain_add_special_handler_007
* @tc.desc : Add multiple special handlers for the different signals that is not registered with
* the kernel in sigchain.
* @tc.desc : Multiple signal are not registered with the kernel, call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_007()
......
......@@ -62,8 +62,7 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_add_special_handler_008
* @tc.desc : Add multiple special handlers for the different signals that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : Multiple signal are registered with the kernel(Using signal), call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_008()
......
......@@ -56,8 +56,7 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_add_special_handler_009
* @tc.desc : Add multiple special handlers for the different signals that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : Multiple signal are registered with the kernel(Using sigaction), call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_009()
......
......@@ -123,8 +123,8 @@ static bool sigchain_special_handler10(int signo, siginfo_t *siginfo, void *ucon
/**
* @tc.name : sigchain_add_special_handler_010
* @tc.desc : Add multiple special handlers for the different signals that is not registered with
* the kernel in sigchain.
* @tc.desc : Multiple different signals((Coverage signal range)) are not registered with the kernel,
* call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_010()
......
......@@ -151,8 +151,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_add_special_handler_011
* @tc.desc : Add multiple special handlers for the different signals that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : Multiple different signals(Coverage signal range) are registered with the kernel(using signal),
* call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_011()
......
......@@ -152,8 +152,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_add_special_handler_012
* @tc.desc : Add multiple special handlers for the different signals that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : Multiple different signals(Coverage signal range) are registered with the kernel(using signal),
* call add_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_add_special_handler_012()
......
......@@ -46,8 +46,7 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_call_special_handler_001
* @tc.desc : Add a special handler for a signal that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : Test the call order of the special handler and user's handler.
* @tc.level : Level 0
*/
static void sigchain_call_special_handler_001()
......
......@@ -41,8 +41,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigaction_001
* @tc.desc : Test the influence of sigchain on sigaction, the signals are not registered with
* the special handler
* @tc.desc : The signals are not registered with the special handler, test the influence of sigchain
* on sigaction.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigaction_001()
......
......@@ -61,8 +61,7 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigaction_002
* @tc.desc : Test the influence of sigchain on sigaction. the signals are registered with
* the special handler
* @tc.desc : The signals are registered with the special handler, test the influence of sigchain on sigaction.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigaction_002()
......
......@@ -61,8 +61,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigaction_003
* @tc.desc : Test the influence of sigchain on sigaction. the signals are registered with
* the special handler, and remove the special handler.
* @tc.desc : the signals are registered with the special handler, and remove the special handler. Test
* the influence of sigchain on sigaction.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigaction_003()
......
......@@ -45,8 +45,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigaction_004
* @tc.desc : Test the influence of sigchain on sigaction, the signals are not registered with
* the special handler, and mask and rasie the signal at the special handler
* @tc.desc : The signals are not registered with the special handler, and mask and rasie the signal
* at the special handler. Test the influence of sigchain on sigaction.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigaction_004()
......
......@@ -41,8 +41,7 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_add_special_handler_025
* @tc.desc : Test the influence of sigchain on signal, the signals are not registered with
* the special handler
* @tc.desc : The signals are not registered with the special handler, test the influence of sigchain on signal
* @tc.level : Level 0
*/
static void sigchain_intercept_signal_001()
......
......@@ -61,8 +61,7 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_signal_002
* @tc.desc : Test the influence of sigchain on signal. the signals are registered with
* the special handler
* @tc.desc : The signals are registered with the special handler, test the influence of sigchain on signal
* @tc.level : Level 0
*/
static void sigchain_intercept_signal_002()
......
......@@ -61,8 +61,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_signal_003
* @tc.desc : Test the influence of sigchain on signal. the signals are registered with
* the special handler, and remove the special handler.
* @tc.desc : The signals are registered with the special handler, and remove the special handler.
* Test the influence of sigchain on signal
* @tc.level : Level 0
*/
static void sigchain_intercept_signal_003()
......
......@@ -41,8 +41,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_001
* @tc.desc : Test the influence of sigchain on sigprocmask, the signals are not registered with
* the special handler
* @tc.desc : The signals are not registered with the special handler, test the influence of sigchain
* on sigprocmask.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_001()
......
......@@ -61,8 +61,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_002
* @tc.desc : Test the influence of sigchain on sigprocmask, the signals are registered with
* the special handler
* @tc.desc : The signals are registered with the special handler, test the influence of sigchain
* on sigprocmask.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_002()
......
......@@ -61,8 +61,8 @@ static void signal_handler2(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_003
* @tc.desc : Test the influence of sigchain on sigprocmask. the signals are registered with
* the special handler, and remove the special handler.
* @tc.desc : The signals are registered with the special handler, and remove the special handler.
* Test the influence of sigchain on sigprocmask.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_003()
......
......@@ -43,8 +43,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_004
* @tc.desc : Test the influence of sigchain on sigprocmask. the signals are registered with
* the special handler, and the case is called by multiple threads
* @tc.desc : The signals are registered with the special handler.Test the multiple threads call
* sigprocmask and add_special_signal_handler.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_004(int signo)
......
......@@ -61,8 +61,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_005
* @tc.desc : Test the influence of sigchain on sigprocmask, the signals are registered with
* the special handler, and mask and rasie the signal at the special handler
* @tc.desc : The signals are registered with the special handler, and mask and rasie the signal
* at the special handler. Test the influence of sigchain on sigprocmask.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_005()
......
......@@ -22,7 +22,7 @@
/**
* @tc.name : sigchain_intercept_sigprocmask_006
* @tc.desc : Test the influence of sigchain on sigprocmask, the new set is null.
* @tc.desc : The new set is null, call sigprocmask.
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_006()
......
......@@ -44,7 +44,7 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_intercept_sigprocmask_007
* @tc.desc : Test sigprocmask when the 'musl.sigchain.procmask' is false,
* @tc.desc : The 'musl.sigchain.procmask' is false, call the sigprocmask
* @tc.level : Level 0
*/
static void sigchain_intercept_sigprocmask_007()
......
......@@ -32,8 +32,8 @@ static bool sigchain_special_handler(int signo, siginfo_t *siginfo, void *uconte
/**
* @tc.name : sigchain_rm_special_handler_001
* @tc.desc : remove a special handler for a signal that is not registered with
* the kernel in sigchain.
* @tc.desc : The signal is not registered with the kernel, and add the special handler.
* Call the remove_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_001()
......
......@@ -42,8 +42,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_rm_special_handler_002
* @tc.desc : Remove a special handler for a signal that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : The signal is registered with the kernel(using signal), and add the special handler.
* Call the remove_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_002()
......
......@@ -42,8 +42,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_rm_special_handler_003
* @tc.desc : Remove a special handler for a signal that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : The signal is registered with the kernel(using sigaction), and add the special handler.
* Call the remove_special_signal_handler
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_003()
......
......@@ -43,8 +43,8 @@ static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucont
/**
* @tc.name : sigchain_rm_special_handler_004
* @tc.desc : remove multiple special handlers for a signal that is not registered with
* the kernel in sigchain.
* @tc.desc : The signal is not registered with the kernel, and add two special handler.
* Call the remove_special_signal_handler to remove the two special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_004()
......
......@@ -52,8 +52,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_rm_special_handler_005
* @tc.desc : Remove multiple special handlers for a signal that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : The signal is registered with the kernel(using signal), and add two special handler.
* Call the remove_special_signal_handler to remove the two special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_005()
......
......@@ -52,8 +52,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_rm_special_handler_006
* @tc.desc : Remove multiple special handlers for a signal that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : The signal is registered with the kernel(using sigaction), and add two special handler.
* Call the remove_special_signal_handler to remove the two special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_006()
......
......@@ -43,8 +43,8 @@ static bool sigchain_special_handler2(int signo, siginfo_t *siginfo, void *ucont
/**
* @tc.name : sigchain_rm_special_handler_007
* @tc.desc : Remove the special handlers for the different signals that is not registered with
* the kernel in sigchain.
* @tc.desc : The two signals are not registered with the kernel, and add the special handler for the two signals.
* Call the remove_special_signal_handler to remove the two signal's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_007()
......
......@@ -56,8 +56,8 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_rm_special_handler_008
* @tc.desc : Add the special handler for the different signals that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : The two signals are registered with the kernel(using signal), and add the special handler for
* the two signals. Call the remove_special_signal_handler to remove the two signal's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_008()
......
......@@ -56,8 +56,8 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_rm_special_handler_008
* @tc.desc : Add the special handler for the different signals that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : The two signals are registered with the kernel(using sigaction), and add the special handler for
* the two signals. Call the remove_special_signal_handler to remove the two signal's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_009()
......
......@@ -123,8 +123,9 @@ static bool sigchain_special_handler10(int signo, siginfo_t *siginfo, void *ucon
/**
* @tc.name : sigchain_rm_special_handler_010
* @tc.desc : Remove multiple special handlers for the different signals that are not registered with
* the kernel.
* @tc.desc : The multiple signals(Coverage signal range) are not registered with the kernel,
* and add the special handler. Call the remove_special_signal_handler to remove
* the signals's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_010()
......
......@@ -152,8 +152,9 @@ static void signal_handler(int signo)
/**
* @tc.name : sigchain_rm_special_handler_011
* @tc.desc : Remove multiple special handlers for the different signals that is registered with
* the kernel (Using signal interface) in sigchain.
* @tc.desc : The multiple signals(Coverage signal range) are registered with the kernel(using signal),
* and add the special handler. Call the remove_special_signal_handler to remove
* the signals's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_011()
......
......@@ -152,8 +152,9 @@ static void signal_sigaction(int signo)
/**
* @tc.name : sigchain_rm_special_handler_012
* @tc.desc : Remove multiple special handlers for the different signals that is registered with
* the kernel (Using sigaction interface) in sigchain.
* @tc.desc : The multiple signals(Coverage signal range) are registered with the kernel(using sigaction),
* and add the special handler. Call the remove_special_signal_handler to remove
* the signals's special handler.
* @tc.level : Level 0
*/
static void sigchain_rm_special_handler_012()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册