mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-24 21:29:27 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 ***
|
||||
|
||||
Reference in New Issue
Block a user