diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-16 16:15:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | bc7588777427880012026acad01dfd7a1f91d524 (patch) | |
tree | 4084d218e0dc64cc58925d580ca7aa092df486b6 /testsuites/fstests/fsdosfssync01 | |
parent | tests/smptests: Use <rtems/test.h> (diff) | |
download | rtems-bc7588777427880012026acad01dfd7a1f91d524.tar.bz2 |
tests/fstests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/fstests/fsdosfssync01')
-rw-r--r-- | testsuites/fstests/fsdosfssync01/init.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/testsuites/fstests/fsdosfssync01/init.c b/testsuites/fstests/fsdosfssync01/init.c index fc38e2cfd9..77559788ca 100644 --- a/testsuites/fstests/fsdosfssync01/init.c +++ b/testsuites/fstests/fsdosfssync01/init.c @@ -30,6 +30,8 @@ #include <rtems/dosfs.h> #include <rtems/ramdisk.h> +const char rtems_test_name[] = "FSDOSFSSYNC 1"; + static void create_file(const char *file) { int fd; @@ -139,12 +141,11 @@ static void test(const char *rda, const char *mnt, const char *file) static void Init(rtems_task_argument arg) { - puts("\n\n*** TEST FSDOSFSSYNC 1 ***"); + TEST_BEGIN(); test("/dev/rda", "/mnt", "/mnt/file"); - puts("*** END OF TEST FSDOSFSSYNC 1 ***"); - + TEST_END(); rtems_test_exit(0); } @@ -169,6 +170,8 @@ size_t rtems_ramdisk_configuration_size = 1; #define CONFIGURE_EXTRA_TASK_STACKS (8 * 1024) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |