summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxaio02/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/psxaio02/init.c
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxaio02/init.c')
-rw-r--r--testsuites/psxtests/psxaio02/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxaio02/init.c b/testsuites/psxtests/psxaio02/init.c
index 4961e0b66a..89c42342a9 100644
--- a/testsuites/psxtests/psxaio02/init.c
+++ b/testsuites/psxtests/psxaio02/init.c
@@ -23,6 +23,8 @@
#include <fcntl.h>
#include <rtems/chain.h>
+const char rtems_test_name[] = "PSXAIO 2";
+
/* forward declarations to avoid warnings */
struct aiocb *create_aiocb(int fd);
void free_aiocb(struct aiocb *aiocbp);
@@ -73,7 +75,7 @@ POSIX_Init (void *argument)
status = mkdir ("/tmp", S_IRWXU);
rtems_test_assert (!status);
- puts ("\n\n*** POSIX AIO TEST 02 ***");
+ TEST_BEGIN();
puts ("Init: Open files");
@@ -171,7 +173,7 @@ POSIX_Init (void *argument)
status = aio_cancel (fd[5], aiocbp[6]);
rtems_test_assert (status == AIO_ALLDONE);
- puts ("*** END OF POSIX AIO TEST 02 ***");
+ TEST_END();
for (i = 0; i < MAX; i++)
{