mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 13:19:03 +00:00
testing: ostest: Fix task_restart test
Summary: - This commit fixes the task_restart test for the 2nd time execution Impact: - None Testing: - sim:ostest Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
e69a032f20
commit
ee7b47ba4e
1 changed files with 3 additions and 0 deletions
|
|
@ -166,6 +166,9 @@ void restart_test(void)
|
|||
setenv(g_varname, g_varvalue, TRUE); /* Variable1=GoodValue1 */
|
||||
#endif
|
||||
|
||||
/* Initialize global variables */
|
||||
|
||||
g_restartstep = 0;
|
||||
sem_init(&g_sem, 0, 0);
|
||||
|
||||
/* Start the task */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue