ostest: fix sighand_test report error
sighand_test: ERROR waiter task did not exit reason: sleep will be interrupt by signal Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
e6e4661131
commit
048b79955e
@ -346,7 +346,11 @@ void sighand_test(void)
|
|||||||
/* Wait a bit */
|
/* Wait a bit */
|
||||||
|
|
||||||
FFLUSH();
|
FFLUSH();
|
||||||
sleep(2);
|
status = sleep(2);
|
||||||
|
while (status)
|
||||||
|
{
|
||||||
|
status = sleep(status);
|
||||||
|
}
|
||||||
|
|
||||||
/* Then check the result */
|
/* Then check the result */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user