summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey04
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-04 15:23:25 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-05 13:41:07 +0200
commit51b3cbca11b940d37b791b4d8009c2144db31ac6 (patch)
tree603dd4aeee593f82d8224195f089ca3024c75f40 /testsuites/psxtests/psxkey04
parentscore: Remove CPU_PROVIDES_IDLE_THREAD_BODY (diff)
downloadrtems-51b3cbca11b940d37b791b4d8009c2144db31ac6.tar.bz2
tests: Use rtems_task_exit()
Update #3533.
Diffstat (limited to 'testsuites/psxtests/psxkey04')
-rw-r--r--testsuites/psxtests/psxkey04/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey04/init.c b/testsuites/psxtests/psxkey04/init.c
index 34e52c8aab..d42633ce25 100644
--- a/testsuites/psxtests/psxkey04/init.c
+++ b/testsuites/psxtests/psxkey04/init.c
@@ -49,7 +49,7 @@ rtems_task Test_Thread1( rtems_task_argument argument )
value = pthread_getspecific( Key );
rtems_test_assert( *value == Data_array[0] );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Test_Thread2( rtems_task_argument argument )
@@ -65,7 +65,7 @@ rtems_task Test_Thread2( rtems_task_argument argument )
value = pthread_getspecific( Key );
rtems_test_assert( *value == Data_array[1] );
- rtems_task_delete( RTEMS_SELF );
+ rtems_task_exit();
}
rtems_task Init( rtems_task_argument ignored )