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 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxaio01')
-rw-r--r-- | testsuites/psxtests/psxaio01/init.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxaio01/system.h | 2 |
2 files changed, 6 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); diff --git a/testsuites/psxtests/psxaio01/system.h b/testsuites/psxtests/psxaio01/system.h index 48965ef0af..2bb81a6fdd 100644 --- a/testsuites/psxtests/psxaio01/system.h +++ b/testsuites/psxtests/psxaio01/system.h @@ -26,6 +26,8 @@ void *POSIX_Init (void *argument); #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 10 #define CONFIGURE_MAXIMUM_POSIX_MUTEXES 10 #define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 10 |