diff options
Diffstat (limited to 'testsuites/psxtests/psxkey01/task.c')
-rw-r--r-- | testsuites/psxtests/psxkey01/task.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxkey01/task.c b/testsuites/psxtests/psxkey01/task.c index 9a81ec85a5..4d09677842 100644 --- a/testsuites/psxtests/psxkey01/task.c +++ b/testsuites/psxtests/psxkey01/task.c @@ -8,7 +8,7 @@ * * Output parameters: NONE * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -34,14 +34,14 @@ void *Task_1( status = pthread_setspecific( Key_id[0], (void *)&Data_array[ 1 ] ); if ( status ) printf( "status = %d\n", status ); - assert( !status ); + rtems_test_assert( !status ); key_data = pthread_getspecific( Key_id[0] ); printf( "Task_1: Got the key value of %ld\n", (unsigned long) ((uint32_t *)key_data - Data_array) ); if ( status ) printf( "status = %d\n", status ); - assert( !status ); + rtems_test_assert( !status ); puts( "Task_1: exitting" ); pthread_exit( NULL ); |