From f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:40 +0100 Subject: tests/libtests: Use --- testsuites/libtests/tar02/init.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'testsuites/libtests/tar02') diff --git a/testsuites/libtests/tar02/init.c b/testsuites/libtests/tar02/init.c index 4f8a583a2f..c910cbe012 100644 --- a/testsuites/libtests/tar02/init.c +++ b/testsuites/libtests/tar02/init.c @@ -25,6 +25,8 @@ #include "initial_filesystem_tar.h" +const char rtems_test_name[] = "TAR 2"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); void test_tarfs_load(void); @@ -55,7 +57,7 @@ void test_tarfs_load(void) test_cat( "/home/test_file", 0, 0 ); /******************/ - puts("*** Skipping symlink -- NOT CURRENTLY SUPPORTED ***" ); + TEST_BEGIN(); #if 0 printf( "========= /symlink =========\n" ); test_cat( "/symlink", 0, 0 ); @@ -66,12 +68,12 @@ rtems_task Init( rtems_task_argument ignored ) { - printf( "\n\n*** TAR02 TEST ***\n" ); + TEST_BEGIN(); test_tarfs_load(); IMFS_dump(); - printf( "*** END OF TAR02 TEST ***\n" ); + TEST_END(); exit( 0 ); } @@ -84,6 +86,8 @@ rtems_task Init( #define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -- cgit v1.2.3