diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-25 15:51:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-25 15:51:55 +0000 |
commit | 04ecf40405b2364cec39be330771d1e0170fd23c (patch) | |
tree | 340afd3cd7efd2b4b28e70d4d0850b152bee079a /testsuites/libtests/gxx01/init.c | |
parent | 2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-04ecf40405b2364cec39be330771d1e0170fd23c.tar.bz2 |
2010-07-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* gxx01/gxx01.scn, gxx01/init.c: Remove local _exit().
Diffstat (limited to 'testsuites/libtests/gxx01/init.c')
-rw-r--r-- | testsuites/libtests/gxx01/init.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/testsuites/libtests/gxx01/init.c b/testsuites/libtests/gxx01/init.c index e74e52e7be..3ab36b2338 100644 --- a/testsuites/libtests/gxx01/init.c +++ b/testsuites/libtests/gxx01/init.c @@ -164,20 +164,14 @@ void test_key(void) rtems_test_assert( key == NULL ); } -void _exit(int status) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; - -void _exit(int status) -{ - puts( "*** END OF TEST GXX 01 ***" ); - - rtems_shutdown_executive(0); -} - void test_out_of_mutexes(void) { __gthread_mutex_t mutex; puts( "rtems_gxx_mutex_init() until exhausted and panic" ); + puts( "rtems_gxx_mutex_init() panic AFTER printing EOF message" ); + puts( "*** END OF TEST GXX 01 ***" ); + while (1) { rtems_gxx_mutex_init(&mutex); rtems_test_assert( mutex != 0 ); |