summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/ostest_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ostest/ostest_main.c')
-rw-r--r--apps/examples/ostest/ostest_main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c
index d83adc413..978f72f9e 100644
--- a/apps/examples/ostest/ostest_main.c
+++ b/apps/examples/ostest/ostest_main.c
@@ -329,6 +329,12 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#endif
+ /* Checkout task_restart() */
+
+ printf("\nuser_main: task_restart test\n");
+ restart_test();
+ check_test_memory_usage();
+
#ifdef CONFIG_SCHED_WAITPID
/* Check waitpid() and friends */