summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp04/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:56:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-03-20 14:56:45 +0000
commitfabacfedb8d6d281000f616e8902bde8187b2c69 (patch)
tree5bb1ae9d17dc02a555c1cfc45bc50845f58becf0 /c/src/tests/sptests/sp04/task1.c
parent2002-03-20 Chris Johns <ccj@acm.org> (diff)
downloadrtems-fabacfedb8d6d281000f616e8902bde8187b2c69.tar.bz2
2002-03-20 Chris Johns <ccj@acm.org>
* PR145. * sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present in system (e.g. driver tasks). Also exit on minimum number of switches not precise number.
Diffstat (limited to 'c/src/tests/sptests/sp04/task1.c')
-rw-r--r--c/src/tests/sptests/sp04/task1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/tests/sptests/sp04/task1.c b/c/src/tests/sptests/sp04/task1.c
index cbaa831890..a2fb9bf75d 100644
--- a/c/src/tests/sptests/sp04/task1.c
+++ b/c/src/tests/sptests/sp04/task1.c
@@ -74,7 +74,7 @@ rtems_task Task_1(
directive_failed( status, "rtems_task_resume of TA3" );
while ( FOREVER ) {
- if ( Run_count[ 1 ] == 3 ) {
+ if ( Run_count[ 1 ] >= 3 ) {
puts( "TA1 - rtems_task_mode - change mode to NO RTEMS_PREEMPT" );
status = rtems_task_mode(