mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
ostest: reset g_restartstep when test case restart
The g_restartstep value is not initialized when ostest repeated.
This commit is contained in:
parent
4c5406e225
commit
3dabc24635
1 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,8 @@ void restart_test(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
g_restartstep = 0;
|
||||
|
||||
/* Start the children and wait for first one to complete */
|
||||
|
||||
printf("\nTest task_restart()\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue