2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>

* sp70/init.c, sp70/sp70.scn: Fix bug in test which lead to random
	memory corruption.
This commit is contained in:
Joel Sherrill
2010-11-16 19:01:29 +00:00
parent 80675f0d64
commit 2b76c8dc25
3 changed files with 27 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp70/init.c, sp70/sp70.scn: Fix bug in test which lead to random
memory corruption.
2010-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* spchain/init.c: Attempt to improve coverage.
+6 -1
View File
@@ -12,7 +12,7 @@
#include <tmacros.h>
#include "test_support.h"
rtems_id TaskID[4];
rtems_id TaskID[10];
void create_helper(int task)
{
@@ -57,6 +57,11 @@ rtems_task Init(
delete_helper( 4 );
delete_helper( 5 );
create_helper( 2 );
create_helper( 3 );
create_helper( 4 );
create_helper( 5 );
puts( "*** END OF TEST 70 ***" );
rtems_test_exit(0);
+16 -1
View File
@@ -1 +1,16 @@
XXX fill in with test output
*** TEST 70 ***
Creating task 1 - OK
Creating task 2 - OK
Creating task 3 - OK
Creating task 4 - OK
Creating task 5 - OK
Creating task 6 - OK
Deleting task 2
Deleting task 3
Deleting task 4
Deleting task 5
Creating task 2 - OK
Creating task 3 - OK
Creating task 4 - OK
Creating task 5 - OK
*** END OF TEST 70 ***