summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmount
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/psxmount
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxmount')
-rw-r--r--testsuites/psxtests/psxmount/main.c2
-rw-r--r--testsuites/psxtests/psxmount/test.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmount/main.c b/testsuites/psxtests/psxmount/main.c
index 63d95a2c74..92ddb3e1fe 100644
--- a/testsuites/psxtests/psxmount/main.c
+++ b/testsuites/psxtests/psxmount/main.c
@@ -36,6 +36,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
diff --git a/testsuites/psxtests/psxmount/test.c b/testsuites/psxtests/psxmount/test.c
index 1bc4993073..57f43db9a8 100644
--- a/testsuites/psxtests/psxmount/test.c
+++ b/testsuites/psxtests/psxmount/test.c
@@ -26,6 +26,8 @@
#include <rtems/libio.h>
#include <pmacros.h>
+const char rtems_test_name[] = "PSXMOUNT";
+
/* forward declarations to avoid warnings */
int test_main(void);
@@ -90,7 +92,7 @@ int main(
static const char my_link [] = "/c/y/my_link";
static const char mount_point [] = "/c/y/my_mount_point";
- printf( "\n\n*** MOUNT/UNMOUNT TEST ***\n" );
+ TEST_BEGIN();
/*
* Change directory to the root and create files under
@@ -466,6 +468,6 @@ int main(
rtems_test_assert( status == -1 );
rtems_test_assert( errno == ENOENT );
- printf( "\n\n*** END OF MOUNT/UNMOUNT TEST ***\n" );
+ TEST_END();
rtems_test_exit(0);
}