mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-12 16:06:59 +00:00
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
1 changed files with 5 additions and 1 deletions
|
|
@ -346,7 +346,11 @@ void sighand_test(void)
|
|||
/* Wait a bit */
|
||||
|
||||
FFLUSH();
|
||||
sleep(2);
|
||||
status = sleep(2);
|
||||
while (status)
|
||||
{
|
||||
status = sleep(status);
|
||||
}
|
||||
|
||||
/* Then check the result */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue