diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-23 18:04:53 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-07-23 18:04:53 +0000 |
commit | 75fed1b941c9fc1ccecf3eb055cac52399383da7 (patch) | |
tree | 98220a7acaa7b34417de68366ce45a44e4983b5f /testsuites/sptests/spintrcritical09/init.c | |
parent | 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-75fed1b941c9fc1ccecf3eb055cac52399383da7.tar.bz2 |
2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* spintrcritical01/init.c, spintrcritical06/init.c,
spintrcritical08/init.c, spintrcritical09/init.c: Perform some
cleanup and make the tests more similar.
Diffstat (limited to 'testsuites/sptests/spintrcritical09/init.c')
-rw-r--r-- | testsuites/sptests/spintrcritical09/init.c | 10 |
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); } |