summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/tar02
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-20 09:10:26 +0100
commitf8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch)
tree851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/tar02
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/tar02')
-rw-r--r--testsuites/libtests/tar02/init.c10
1 files changed, 7 insertions, 3 deletions
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