summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/stackchk/init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-14 15:10:46 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-15 15:33:13 +0100
commita12f7e98f17cd4b710459b3763780c3f1cbcd8a7 (patch)
treee1f434ef61565dadf8048e496cb8983d45b9a2ef /testsuites/libtests/stackchk/init.c
parentscore: Add RTEMS_FATAL_SOURCE_ASSERT (diff)
downloadrtems-a12f7e98f17cd4b710459b3763780c3f1cbcd8a7.tar.bz2
score: Add RTEMS_FATAL_SOURCE_STACK_CHECKER
Diffstat (limited to 'testsuites/libtests/stackchk/init.c')
-rw-r--r--testsuites/libtests/stackchk/init.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/testsuites/libtests/stackchk/init.c b/testsuites/libtests/stackchk/init.c
index a545812209..1551eecb37 100644
--- a/testsuites/libtests/stackchk/init.c
+++ b/testsuites/libtests/stackchk/init.c
@@ -88,16 +88,13 @@ rtems_task Init(
void Fatal_extension( uint32_t source, bool is_internal, uint32_t error )
{
- if ( source != INTERNAL_ERROR_RTEMS_API ) {
+ if ( source != RTEMS_FATAL_SOURCE_STACK_CHECKER ) {
printk( "unexpected fatal source\n" );
} else if ( is_internal ) {
printk( "unexpected fatal is internal\n" );
- } else if ( error != 0x81 ) {
+ } else if ( error != rtems_build_name( 'T', 'A', '1', ' ' ) ) {
printk( "unexpected fatal error\n" );
} else {
printk( "*** END OF TEST STACK CHECKER ***\n" );
}
-
- if ( _System_state_Is_up( _System_state_Get() ) )
- _Thread_Stop_multitasking();
}