summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/stackchk/init.c
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/stackchk/init.c
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/stackchk/init.c')
-rw-r--r--testsuites/libtests/stackchk/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/libtests/stackchk/init.c b/testsuites/libtests/stackchk/init.c
index 772b039592..c123c01042 100644
--- a/testsuites/libtests/stackchk/init.c
+++ b/testsuites/libtests/stackchk/init.c
@@ -26,6 +26,8 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "STACKCHK";
+
rtems_task Init(
rtems_task_argument argument
)
@@ -33,7 +35,7 @@ rtems_task Init(
rtems_time_of_day time;
rtems_status_code status;
- puts( "\n\n*** TEST STACK CHECKER ***" );
+ TEST_BEGIN();
build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
status = rtems_clock_set( &time );
@@ -99,6 +101,6 @@ void Fatal_extension(
} else if ( error != rtems_build_name( 'T', 'A', '1', ' ' ) ) {
printk( "unexpected fatal error\n" );
} else {
- printk( "*** END OF TEST STACK CHECKER ***\n" );
+ rtems_test_endk();
}
}