aboutsummaryrefslogtreecommitdiffstats
path: root/test/testpools.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-23 18:04:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-23 18:04:28 +0000
commit7fdee68e5bf8c080cd0a79942cc5675ed0c71e58 (patch)
treea6d0b72cecec5010d9a36c0c30d7d5787e63ca1f /test/testpools.c
parent0544bfe97b6a530687d9b492221a3dc6b924d98e (diff)
downloadChibiOS-7fdee68e5bf8c080cd0a79942cc5675ed0c71e58.tar.gz
ChibiOS-7fdee68e5bf8c080cd0a79942cc5675ed0c71e58.tar.bz2
ChibiOS-7fdee68e5bf8c080cd0a79942cc5675ed0c71e58.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@439 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testpools.c')
-rw-r--r--test/testpools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testpools.c b/test/testpools.c
index 40a31fad7..2d3ee0f00 100644
--- a/test/testpools.c
+++ b/test/testpools.c
@@ -42,11 +42,11 @@ static void pools1_execute(void) {
int i;
/* Adding the WAs to the pool. */
- for (i = 0; i < 5; i++)
+ for (i = 0; i < MAX_THREADS; i++)
chPoolFree(&mp1, wa[i]);
/* Empting the pool again. */
- for (i = 0; i < 5; i++)
+ for (i = 0; i < MAX_THREADS; i++)
test_assert(chPoolAlloc(&mp1) != NULL, "pool list empty");
/* Now must be empty. */