From 51b3cbca11b940d37b791b4d8009c2144db31ac6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 4 Oct 2018 15:23:25 +0200 Subject: tests: Use rtems_task_exit() Update #3533. --- testsuites/samples/ticker/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuites/samples/ticker/init.c') diff --git a/testsuites/samples/ticker/init.c b/testsuites/samples/ticker/init.c index 3f3cbd8359..a9e0c9b16a 100644 --- a/testsuites/samples/ticker/init.c +++ b/testsuites/samples/ticker/init.c @@ -74,6 +74,5 @@ rtems_task Init( status = rtems_task_start( Task_id[ 3 ], Test_task, 3 ); directive_failed( status, "start 3" ); - status = rtems_task_delete( RTEMS_SELF ); - directive_failed( status, "delete" ); + rtems_task_exit(); } -- cgit v1.2.3