summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx08/task2.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psx08/task2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx08/task2.c b/testsuites/psxtests/psx08/task2.c
index d7f8fc003c..612176404f 100644
--- a/testsuites/psxtests/psx08/task2.c
+++ b/testsuites/psxtests/psx08/task2.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
@@ -37,13 +37,13 @@ void *Task_2(
status = pthread_join( Init_id, NULL );
if ( status != EINVAL )
printf( "status = %d\n", status );
- assert( status == EINVAL );
+ rtems_test_assert( status == EINVAL );
puts( "Task_2: join to self task (Init) -- EDEADLK" );
status = pthread_join( pthread_self(), NULL );
if ( status != EDEADLK )
printf( "status = %d\n", status );
- assert( status == EDEADLK );
+ rtems_test_assert( status == EDEADLK );
puts( "Task_2: exitting" );