summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx05/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psx05/init.c
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx05/init.c')
-rw-r--r--testsuites/psxtests/psx05/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index 5880adf708..34a1aec3d1 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -19,6 +19,8 @@
#include <rtems/score/todimpl.h>
+const char rtems_test_name[] = "PSX 5";
+
#define MUTEX_BAD_ID 0xfffffffe
void Print_mutexattr(
@@ -129,7 +131,7 @@ void *POSIX_Init(
rtems_test_assert( MUTEX_BAD_ID != PTHREAD_MUTEX_INITIALIZER );
Mutex_bad_id = MUTEX_BAD_ID;
- puts( "\n\n*** POSIX TEST 5 ***" );
+ TEST_BEGIN();
/* set the time of day, and print our buffer in multiple ways */
@@ -683,7 +685,7 @@ void *POSIX_Init(
printf( "status recursive mutex :%d\n", status );
rtems_test_assert( !status );
- puts( "*** END OF POSIX TEST 5 ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */