summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:01:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 19:01:29 +0000
commit2b76c8dc25a53ce642992ef43d9126d14bfc83fa (patch)
tree2e74acce07c04932a2ce79eeb896fcbb53717d7d /testsuites
parent2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-2b76c8dc25a53ce642992ef43d9126d14bfc83fa.tar.bz2
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.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/ChangeLog5
-rw-r--r--testsuites/sptests/sp70/init.c7
-rw-r--r--testsuites/sptests/sp70/sp70.scn17
3 files changed, 27 insertions, 2 deletions
diff --git a/testsuites/sptests/ChangeLog b/testsuites/sptests/ChangeLog
index 9cda36bd7f..0bb4fb7a28 100644
--- a/testsuites/sptests/ChangeLog
+++ b/testsuites/sptests/ChangeLog
@@ -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.
diff --git a/testsuites/sptests/sp70/init.c b/testsuites/sptests/sp70/init.c
index a0c1076edb..a574467601 100644
--- a/testsuites/sptests/sp70/init.c
+++ b/testsuites/sptests/sp70/init.c
@@ -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);
diff --git a/testsuites/sptests/sp70/sp70.scn b/testsuites/sptests/sp70/sp70.scn
index a63612096b..5ca326bce1 100644
--- a/testsuites/sptests/sp70/sp70.scn
+++ b/testsuites/sptests/sp70/sp70.scn
@@ -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 ***