summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfchx01
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/psxfchx01
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxfchx01')
-rw-r--r--testsuites/psxtests/psxfchx01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfchx01/init.c b/testsuites/psxtests/psxfchx01/init.c
index 4835be265d..a6716b8500 100644
--- a/testsuites/psxtests/psxfchx01/init.c
+++ b/testsuites/psxtests/psxfchx01/init.c
@@ -19,6 +19,8 @@
#include <sys/types.h>
#include <fcntl.h>
+const char rtems_test_name[] = "PSXFCHX 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument ignored);
@@ -29,7 +31,7 @@ rtems_task Init(
int status = 0;
int fd = 0;
- puts( "*** TEST Posix file op tests - 01 ***" );
+ TEST_BEGIN();
/****************************************************
* fchdir tests
@@ -209,7 +211,7 @@ rtems_task Init(
puts( "End of fchown tests" );
- puts( "*** END OF TEST Posix file op tests - 01 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -222,6 +224,8 @@ rtems_task Init(
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT