summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmrwlock02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock02/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmrwlock02/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock02/init.c b/testsuites/psxtmtests/psxtmrwlock02/init.c
index 2f198a5b03..1017c7ca7f 100644
--- a/testsuites/psxtmtests/psxtmrwlock02/init.c
+++ b/testsuites/psxtmtests/psxtmrwlock02/init.c
@@ -19,6 +19,8 @@
#include <rtems/timerdrv.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXTMRWLOCK 02";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
void *Middle(void *argument);
@@ -50,7 +52,7 @@ void *Low(
0
);
- puts( "*** END OF POSIX TIME PSXTMRWLOCK 02 TEST ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL;
@@ -85,7 +87,7 @@ void *POSIX_Init(
pthread_t threadId;
pthread_rwlockattr_t attr;
- puts( "\n\n*** POSIX TIME PSXTMRWLOCK 02 TEST ***" );
+ TEST_BEGIN();
for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) {
status = pthread_create( &threadId, NULL, Middle, NULL );