summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx05
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-18 18:39:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-18 18:39:01 +0000
commit1d61610a78c56a493c6ab7d84e619e95e0410a1c (patch)
tree9ef984f38580cba9795ddb3c94a77e4a463c1421 /testsuites/psxtests/psx05
parentChanged format of comment blocks to C comments. (diff)
downloadrtems-1d61610a78c56a493c6ab7d84e619e95e0410a1c.tar.bz2
Modified to reflect change from 255 posix priority levels to 254.
Diffstat (limited to 'testsuites/psxtests/psx05')
-rw-r--r--testsuites/psxtests/psx05/init.c4
-rw-r--r--testsuites/psxtests/psx05/psx05.scn6
2 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c
index bade436f6f..ce8279a394 100644
--- a/testsuites/psxtests/psx05/init.c
+++ b/testsuites/psxtests/psx05/init.c
@@ -428,7 +428,7 @@ void *POSIX_Init(
/* set priority of Task2 to highest priority */
- param.sched_priority = 255;
+ param.sched_priority = 254;
puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" );
status = pthread_setschedparam( Task2_id, SCHED_FIFO, &param );
@@ -550,7 +550,7 @@ void *POSIX_Init(
/* set priority of Init to highest priority */
- param.sched_priority = 255;
+ param.sched_priority = 254;
status = pthread_setschedparam( Init_id, SCHED_FIFO, &param );
assert( !status );
diff --git a/testsuites/psxtests/psx05/psx05.scn b/testsuites/psxtests/psx05/psx05.scn
index 8d70b10c7b..6e4bc7320d 100644
--- a/testsuites/psxtests/psx05/psx05.scn
+++ b/testsuites/psxtests/psx05/psx05.scn
@@ -3,7 +3,7 @@ Init's ID is 0x0c010001
Init: pthread_mutexattr_init - EINVAL (NULL attr)
Init: pthread_mutexattr_init - SUCCESSFUL
Init: mutex protocol is (0) -- PTHREAD_PRIO_NONE
-Init: mutex priority ceiling is 255
+Init: mutex priority ceiling is 254
Init: mutex process shared is (0) -- PTHREAD_PROCESS_PRIVATE
Init: pthread_mutexattr_destroy - SUCCESSFUL
Init: pthread_mutexattr_destroy - EINVAL (NULL attr)
@@ -75,7 +75,7 @@ Init: pthread_mutex_init - SUCCESSFUL
Init: pthread_mutex_trylock - SUCCESSFUL
Init: pthread_setschedparam - Setting Task2 priority to highest
Task 2: pthread_mutex_lock unavailable (inherit case)
-Init: pthread_getschedparam - priority = 255
+Init: pthread_getschedparam - priority = 254
Init: pthread_mutex_unlock - SUCCESSFUL
Task 2: mutex acquired
Task 2: unlock Mutex 2
@@ -88,7 +88,7 @@ Init: pthread_mutexattr_setprotocol - SUCCESSFUL (PTHREAD_PRIO_PROTECT)
Init: pthread_mutex_init - SUCCESSFUL
Init: pthread_mutex_getprioceiling - EINVAL (invalid id)
Init: pthread_mutex_getprioceiling - EINVAL (NULL ceiling)
-Init: pthread_mutex_getprioceiling - 255
+Init: pthread_mutex_getprioceiling - 254
Init: pthread_mutex_setprioceiling - EINVAL (invalid id)
Init: pthread_mutex_setprioceiling - EINVAL (illegal priority)
Init: pthread_mutex_setprioceiling - EINVAL (NULL ceiling)