summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile02
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/psxfile02
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxfile02')
-rw-r--r--testsuites/psxtests/psxfile02/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfile02/init.c b/testsuites/psxtests/psxfile02/init.c
index fb19f81015..d06a7458c5 100644
--- a/testsuites/psxtests/psxfile02/init.c
+++ b/testsuites/psxtests/psxfile02/init.c
@@ -29,6 +29,8 @@
#include <tmacros.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXFILE 2";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
void do_with_fd(int fd, const char *description);
@@ -111,7 +113,7 @@ rtems_task Init(
int status;
int fd;
- puts( "\n\n*** PSXFILE02 TEST ***" );
+ TEST_BEGIN();
/*
* Simple open case where the file is created.
@@ -133,7 +135,7 @@ rtems_task Init(
puts("");
do_with_fd( 1000, "a too large file descriptor" );
- puts( "*** END OF PSXFILE02 TEST ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -145,6 +147,8 @@ rtems_task Init(
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
#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