diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/devfs03 | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/devfs03')
-rw-r--r-- | testsuites/libtests/devfs03/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/devfs03/init.c b/testsuites/libtests/devfs03/init.c index 5c551b0148..f5b7c5cd0d 100644 --- a/testsuites/libtests/devfs03/init.c +++ b/testsuites/libtests/devfs03/init.c @@ -23,6 +23,8 @@ #include <sys/stat.h> #include <fcntl.h> +const char rtems_test_name[] = "DEVFS 3"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -37,7 +39,7 @@ rtems_task Init( .count = 1 }; - puts( "\n\n*** TEST DEVFS03 ***" ); + TEST_BEGIN(); memset(nodes, 0, sizeof(nodes)); @@ -74,7 +76,7 @@ rtems_task Init( status = rmdir( "/dir01" ); rtems_test_assert( status == 0 ); - puts( "*** END OF TEST DEVFS03 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -86,6 +88,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_USE_IMFS_AS_BASE_FILESYSTEM |