From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxaio03/init.c | 6 ++++-- testsuites/psxtests/psxaio03/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxaio03') 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 #include +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 -- cgit v1.2.3