summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsysconf
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/psxsysconf
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r--testsuites/psxtests/psxsysconf/init.c6
-rw-r--r--testsuites/psxtests/psxsysconf/system.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxsysconf/init.c b/testsuites/psxtests/psxsysconf/init.c
index 5bc11ab133..b2b9d5fc20 100644
--- a/testsuites/psxtests/psxsysconf/init.c
+++ b/testsuites/psxtests/psxsysconf/init.c
@@ -19,13 +19,15 @@
#include <stdint.h>
#include <errno.h>
+const char rtems_test_name[] = "PSXSYSCONF";
+
void *POSIX_Init(
void *argument
)
{
long sc;
- puts( "\n\n*** POSIX TEST -- SYSCONF ***" );
+ TEST_BEGIN();
puts( "sysconf -- bad configuration parameter - negative" );
sc = sysconf( -1 );
@@ -79,7 +81,7 @@ void *POSIX_Init(
rtems_test_exit(0);
#endif
- puts( "*** END OF POSIX TEST SYSCONF ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL; /* just so the compiler thinks we returned something */
diff --git a/testsuites/psxtests/psxsysconf/system.h b/testsuites/psxtests/psxsysconf/system.h
index fef8cd4cea..ef42e0391f 100644
--- a/testsuites/psxtests/psxsysconf/system.h
+++ b/testsuites/psxtests/psxsysconf/system.h
@@ -26,6 +26,8 @@ void *POSIX_Init(
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
#define CONFIGURE_POSIX_INIT_THREAD_TABLE