summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical09
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spintrcritical09')
-rw-r--r--testsuites/sptests/spintrcritical09/init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c
index 46faf214e8..76c0818bd6 100644
--- a/testsuites/sptests/spintrcritical09/init.c
+++ b/testsuites/sptests/spintrcritical09/init.c
@@ -78,12 +78,12 @@ rtems_task Init(
(void) rtems_semaphore_obtain( Semaphore, RTEMS_DEFAULT_OPTIONS, 1 );
}
- if (!case_hit)
- rtems_test_exit(0);
-
- puts( "Init - It appears we hit the case" );
+ if ( case_hit ) {
+ puts( "Init - It appears the case has been hit" );
+ puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***" );
+ } else
+ puts( "Init - Case not hit - ran too long" );
- puts( "*** END OF TEST INTERRUPT CRITICAL SECTION 09 ***" );
rtems_test_exit(0);
}