diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmmq01/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmmq01/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmmq01/init.c b/testsuites/psxtmtests/psxtmmq01/init.c index d2644f9b54..ca80374899 100644 --- a/testsuites/psxtmtests/psxtmmq01/init.c +++ b/testsuites/psxtmtests/psxtmmq01/init.c @@ -19,6 +19,8 @@ #include <mqueue.h> #include <signal.h> /* signal facilities */ +const char rtems_test_name[] = "PSXTMMQ 01"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); @@ -256,7 +258,7 @@ void *POSIX_Init( void *argument ) { - puts( "\n\n*** POSIX TIME TEST PSXTMMQ01 ***" ); + TEST_BEGIN(); /* create the first message queue READWRITE */ benchmark_mq_open(1); /* send message using first queue */ @@ -287,7 +289,7 @@ void *POSIX_Init( /* closing the first queue */ benchmark_mq_close(1); - puts( "*** END OF POSIX TIME TEST PSXTMMQ01 ***" ); + TEST_END(); rtems_test_exit(0); } |