summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp42/sp42.scn
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-03 08:15:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-06 12:57:07 +0200
commit3ad5f86cf6803204b98760cdce0c56ef6d79bccd (patch)
treeae018224b2cdda837bd174ad94397a5e043dc2ea /testsuites/sptests/sp42/sp42.scn
parenttftp: Use proper semaphore attr for mutex (diff)
downloadrtems-3ad5f86cf6803204b98760cdce0c56ef6d79bccd.tar.bz2
rtems: Fix no protocol mutex release
The Classic binary semaphores without a locking protocol (RTEMS_BINARY_SEMAPHORE) could be released by everyone, e.g. in contrast to the POSIX mutexes (all variants) or the Classic binary semphores with priority inheritance or ceiling, there was no owner check in the release path. This behaviour was a bit unexpected and not documented. Add an owner check to the release path. Update sptests/sp42 accordingly. This change has nothing to do with the simple binary semaphores (RTEMS_SIMPLE_BINARY_SEMAPHORE) which have no owner at all. Update #2725
Diffstat (limited to 'testsuites/sptests/sp42/sp42.scn')
-rw-r--r--testsuites/sptests/sp42/sp42.scn4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp42/sp42.scn b/testsuites/sptests/sp42/sp42.scn
index 01adcf729d..206d05c40b 100644
--- a/testsuites/sptests/sp42/sp42.scn
+++ b/testsuites/sptests/sp42/sp42.scn
@@ -1,4 +1,4 @@
-*** START OF TEST 42 ***
+*** BEGIN OF TEST SP 42 ***
Exercising blocking discipline w/extract in FIFO order
Exercising blocking discipline w/unblock in FIFO order
TA00 - unblocked - OK
@@ -44,4 +44,4 @@ TA02 - unblocked - OK
TA03 - unblocked - OK
TA15 - unblocked - OK
TA14 - unblocked - OK
-*** END OF TEST 42 ***
+*** END OF TEST SP 42 ***