diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxaio01/init.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxaio01/init.c')
-rw-r--r-- | testsuites/psxtests/psxaio01/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxaio01/init.c b/testsuites/psxtests/psxaio01/init.c index de78db405a..283507f9cd 100644 --- a/testsuites/psxtests/psxaio01/init.c +++ b/testsuites/psxtests/psxaio01/init.c @@ -22,6 +22,8 @@ #include <sched.h> #include <fcntl.h> +const char rtems_test_name[] = "PSXAIO 1"; + #define BUFSIZE 512 #define WRONG_FD 404 @@ -67,7 +69,7 @@ POSIX_Init (void *argument) fd = open ("/tmp/aio_fildes", O_RDWR|O_CREAT, S_IRWXU|S_IRWXG|S_IRWXO); rtems_test_assert ( fd != -1); - puts ("\n\n*** POSIX AIO TEST 01 ***"); + TEST_BEGIN(); puts (" Init: EBADF TESTS "); @@ -191,7 +193,7 @@ POSIX_Init (void *argument) free_aiocb (aiocbp); - puts ("*** END OF POSIX AIO TEST 01 ***"); + TEST_END(); close (fd); rtems_test_exit (0); |