diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-09 10:49:49 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-12 08:03:14 +0100 |
commit | 6a9282d9bb7dd6d7665adb858161edf4e1d0778a (patch) | |
tree | ece20b650906f16036ac2de3f90732c1f914401a /testsuites/libtests | |
parent | score: Remove fatal is internal indicator (diff) | |
download | rtems-6a9282d9bb7dd6d7665adb858161edf4e1d0778a.tar.bz2 |
Rename is_internal to always_set_to_false
Update #2825.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r-- | testsuites/libtests/exit01/init.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/exit02/init.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/stackchk/init.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/stackchk/system.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/testsuites/libtests/exit01/init.c b/testsuites/libtests/exit01/init.c index b677c3aab9..0fd8d356f0 100644 --- a/testsuites/libtests/exit01/init.c +++ b/testsuites/libtests/exit01/init.c @@ -52,13 +52,13 @@ static void atexit_2(void) static void fatal_extension( rtems_fatal_source source, - bool is_internal, + bool always_set_to_false, rtems_fatal_code error ) { if ( source == RTEMS_FATAL_SOURCE_EXIT - && !is_internal + && !always_set_to_false && error == EXIT_STATUS && counter == 3 ) { diff --git a/testsuites/libtests/exit02/init.c b/testsuites/libtests/exit02/init.c index f185d0f72e..48248a569a 100644 --- a/testsuites/libtests/exit02/init.c +++ b/testsuites/libtests/exit02/init.c @@ -37,13 +37,13 @@ static void atexit_not_reached(void) static void fatal_extension( rtems_fatal_source source, - bool is_internal, + bool always_set_to_false, rtems_fatal_code error ) { if ( source == RTEMS_FATAL_SOURCE_EXIT - && !is_internal + && !always_set_to_false && error == EXIT_STATUS ) { TEST_END(); diff --git a/testsuites/libtests/stackchk/init.c b/testsuites/libtests/stackchk/init.c index 4e1e41cdfb..72e3c23731 100644 --- a/testsuites/libtests/stackchk/init.c +++ b/testsuites/libtests/stackchk/init.c @@ -90,13 +90,13 @@ rtems_task Init( void Fatal_extension( rtems_fatal_source source, - bool is_internal, + bool always_set_to_false, rtems_fatal_code error ) { if ( source != RTEMS_FATAL_SOURCE_STACK_CHECKER ) { printk( "unexpected fatal source\n" ); - } else if ( is_internal ) { + } else if ( always_set_to_false ) { printk( "unexpected fatal is internal\n" ); } else if ( error != rtems_build_name( 'T', 'A', '1', ' ' ) ) { printk( "unexpected fatal error\n" ); diff --git a/testsuites/libtests/stackchk/system.h b/testsuites/libtests/stackchk/system.h index 96f56fb22d..225a5d3155 100644 --- a/testsuites/libtests/stackchk/system.h +++ b/testsuites/libtests/stackchk/system.h @@ -44,7 +44,7 @@ void blow_stack( void ); void Fatal_extension( rtems_fatal_source source, - bool is_internal, + bool always_set_to_false, rtems_fatal_code error ); |