summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmrwlock07/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock07/init.c')
-rw-r--r--testsuites/psxtmtests/psxtmrwlock07/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock07/init.c b/testsuites/psxtmtests/psxtmrwlock07/init.c
index a22e03dff9..25067555fd 100644
--- a/testsuites/psxtmtests/psxtmrwlock07/init.c
+++ b/testsuites/psxtmtests/psxtmrwlock07/init.c
@@ -19,6 +19,8 @@
#include <sched.h>
#include <rtems/timerdrv.h>
+const char rtems_test_name[] = "PSXTMRWLOCK 07";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
void *Middle(void *argument);
@@ -47,7 +49,7 @@ void *Low(
0
);
- puts( "*** END OF POSIX TIME TEST PSXTMRWLOCK 07 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL;
}
@@ -84,7 +86,7 @@ void *POSIX_Init(
struct sched_param param;
pthread_rwlockattr_t rw_attr;
- puts( "\n\n*** POSIX TIME TEST PSXTMRWLOCK 07 ***" );
+ TEST_BEGIN();
/*
* Deliberately create the lock BEFORE the threads. This way the