summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spqreslib/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spqreslib/init.c')
-rw-r--r--testsuites/sptests/spqreslib/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/sptests/spqreslib/init.c b/testsuites/sptests/spqreslib/init.c
index d00b623043..33e638b583 100644
--- a/testsuites/sptests/spqreslib/init.c
+++ b/testsuites/sptests/spqreslib/init.c
@@ -215,6 +215,5 @@ rtems_task Init(
status = rtems_task_start( Task_id, Task_Periodic, 1 );
directive_failed( status, "rtems_task_start periodic" );
- status = rtems_task_delete( RTEMS_SELF );
- directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
+ rtems_task_exit();
}