diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-10 16:31:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 09:17:36 +0100 |
commit | 9391f6d6637c752046cdfd89ae2eeea147496e44 (patch) | |
tree | fe6ad09c222cdf0489414d4a5a644b10845de333 /testsuites/samples/fileio/init.c | |
parent | sapi: Add <rtems/test.h> (diff) | |
download | rtems-9391f6d6637c752046cdfd89ae2eeea147496e44.tar.bz2 |
tests/samples: Use <rtems/test.h>
Diffstat (limited to 'testsuites/samples/fileio/init.c')
-rw-r--r-- | testsuites/samples/fileio/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/samples/fileio/init.c b/testsuites/samples/fileio/init.c index 75d16a4909..80da4ab0a6 100644 --- a/testsuites/samples/fileio/init.c +++ b/testsuites/samples/fileio/init.c @@ -32,6 +32,8 @@ #include <rtems/nvdisk-sram.h> #include <rtems/shell.h> +const char rtems_test_name[] = "FILE I/O"; + #if FILEIO_BUILD /** @@ -1220,7 +1222,7 @@ Init (rtems_task_argument ignored) rtems_id Task_id; rtems_status_code status; - puts( "\n\n*** TEST FILE I/O SAMPLE ***" ); + TEST_BEGIN(); status = rtems_shell_wait_for_input( STDIN_FILENO, @@ -1244,7 +1246,7 @@ Init (rtems_task_argument ignored) status = rtems_task_delete( RTEMS_SELF ); directive_failed( status, "delete" ); } else { - puts( "*** END OF TEST FILE I/O SAMPLE ***" ); + TEST_END(); rtems_test_exit( 0 ); } |