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/sptests/spsimplesched01/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testsuites/sptests/spsimplesched01/init.c') diff --git a/testsuites/sptests/spsimplesched01/init.c b/testsuites/sptests/spsimplesched01/init.c index 90af5c4462..f2a06732d8 100644 --- a/testsuites/sptests/spsimplesched01/init.c +++ b/testsuites/sptests/spsimplesched01/init.c @@ -117,8 +117,7 @@ rtems_task Init( status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR ); directive_failed( status, "yield" ); - status = rtems_task_delete( RTEMS_SELF ); - directive_failed( status, "delete self" ); + rtems_task_exit(); } /* configuration information */ -- cgit v1.2.3