From 54b4a8d3451f65434f9dddec6b252c7e5e0b1624 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 25 Apr 2001 01:23:13 +0000 Subject: [PATCH] reduced busy loop iteration count to avoid the test timing out on hp1020a --- bin/tests/tasks/t_tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/tasks/t_tasks.c b/bin/tests/tasks/t_tasks.c index 7ccb018c6a..1d60cbf7a4 100644 --- a/bin/tests/tasks/t_tasks.c +++ b/bin/tests/tasks/t_tasks.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: t_tasks.c,v 1.27 2001/04/24 22:57:36 gson Exp $ */ +/* $Id: t_tasks.c,v 1.28 2001/04/25 01:23:13 gson Exp $ */ #include @@ -2169,7 +2169,7 @@ int spin(int n) { int r = 0; for (i = 0; i < n; i++) { r += i; - if (r > 10000000) + if (r > 1000000) r = 0; } return (r);