ostest: reset g_restartstep when test case restart

The g_restartstep value is not initialized when ostest repeated.
This commit is contained in:
zhangyuan21 2022-11-12 19:24:32 +08:00 committed by Xiang Xiao
parent 4c5406e225
commit 3dabc24635

View File

@ -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");