diff options
Diffstat (limited to 'testsuites/sptests/spfatal_support/init.c')
-rw-r--r-- | testsuites/sptests/spfatal_support/init.c | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c index 319dbd2405..aa49a301ee 100644 --- a/testsuites/sptests/spfatal_support/init.c +++ b/testsuites/sptests/spfatal_support/init.c @@ -80,17 +80,10 @@ void Fatal_extension( printk( ")\n" ); } - if ( is_internal != FATAL_ERROR_EXPECTED_IS_INTERNAL ) - { - if ( is_internal == TRUE ) - printk( - "ERROR==> Fatal Extension is internal set to TRUE expected FALSE\n" - ); - else - printk( - "ERROR==> Fatal Extension is internal set to FALSE expected TRUE\n" - ); - } + if ( is_internal ) + printk( + "ERROR==> Fatal Extension is internal set to true expected false\n" + ); #ifdef FATAL_ERROR_EXPECTED_ERROR if ( error != FATAL_ERROR_EXPECTED_ERROR ) { @@ -104,7 +97,7 @@ void Fatal_extension( if ( source == FATAL_ERROR_EXPECTED_SOURCE - && is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL + && !is_internal && is_expected_error( error ) ) { TEST_END(); |