summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxaio03
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/psxaio03
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxaio03')
-rw-r--r--testsuites/psxtests/psxaio03/init.c6
-rw-r--r--testsuites/psxtests/psxaio03/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxaio03/init.c b/testsuites/psxtests/psxaio03/init.c
index b103c0268c..eed3d4ea8f 100644
--- a/testsuites/psxtests/psxaio03/init.c
+++ b/testsuites/psxtests/psxaio03/init.c
@@ -24,6 +24,8 @@
#include <fcntl.h>
#include <rtems/chain.h>
+const char rtems_test_name[] = "PSXAIO 3";
+
/* forward declarations to avoid warnings */
struct aiocb *create_aiocb(int fd);
void free_aiocb(struct aiocb *aiocbp);
@@ -74,7 +76,7 @@ POSIX_Init (void *argument)
status = mkdir ("/tmp", S_IRWXU);
rtems_test_assert (!status);
- puts ("\n\n*** POSIX AIO TEST 03 ***");
+ TEST_BEGIN();
puts (" Init: Open files ");
@@ -127,7 +129,7 @@ POSIX_Init (void *argument)
puts (" Init: going to sleep again for 5 sec ");
sleep (5);
- puts ("*** END OF POSIX AIO TEST 03 ***");
+ TEST_END();
for (i = 0; i < MAX; i++)
{
diff --git a/testsuites/psxtests/psxaio03/system.h b/testsuites/psxtests/psxaio03/system.h
index 2b0da1fe3d..92ae0aabd8 100644
--- a/testsuites/psxtests/psxaio03/system.h
+++ b/testsuites/psxtests/psxaio03/system.h
@@ -27,6 +27,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 30
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 30
#define CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES 30