diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-04 15:23:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-05 13:41:07 +0200 |
commit | 51b3cbca11b940d37b791b4d8009c2144db31ac6 (patch) | |
tree | 603dd4aeee593f82d8224195f089ca3024c75f40 /testsuites/sptests/spwatchdog/init.c | |
parent | score: Remove CPU_PROVIDES_IDLE_THREAD_BODY (diff) | |
download | rtems-51b3cbca11b940d37b791b4d8009c2144db31ac6.tar.bz2 |
tests: Use rtems_task_exit()
Update #3533.
Diffstat (limited to 'testsuites/sptests/spwatchdog/init.c')
-rw-r--r-- | testsuites/sptests/spwatchdog/init.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c index 7b844d790a..555d52d19f 100644 --- a/testsuites/sptests/spwatchdog/init.c +++ b/testsuites/sptests/spwatchdog/init.c @@ -271,9 +271,6 @@ rtems_task Init( printf( "INIT - timer 1 has id (0x%" PRIxrtems_id ")\n", Timer_id[ 1 ] ); - status = rtems_task_delete( RTEMS_SELF ); - directive_failed( status, "rtems_task_delete of RTEMS_SELF" ); - - - rtems_test_exit( 0 ); + /* Task_1() will end the test */ + rtems_task_exit(); } |