summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxid01
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/psxid01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxid01')
-rw-r--r--testsuites/psxtests/psxid01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxid01/init.c b/testsuites/psxtests/psxid01/init.c
index 87df483590..4224840af5 100644
--- a/testsuites/psxtests/psxid01/init.c
+++ b/testsuites/psxtests/psxid01/init.c
@@ -19,6 +19,8 @@
#include <limits.h>
#include <sys/types.h>
+const char rtems_test_name[] = "PSXID 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void test_gid(void);
@@ -139,7 +141,7 @@ rtems_task Init(
rtems_task_argument argument
)
{
- puts( "\n\n*** TEST ID 01 ***" );
+ TEST_BEGIN();
test_gid();
puts( "" );
@@ -152,7 +154,7 @@ rtems_task Init(
test_getlogin();
- puts( "*** END OF TEST ID 01 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -165,6 +167,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
/* so we can write /etc/passwd and /etc/group */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT