diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxmount | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxmount')
-rw-r--r-- | testsuites/psxtests/psxmount/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxmount/test.c | 6 |
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); } |