summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp51/sp51.doc
blob: a1003dba992f00e97e7791caba2f2291c28231d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#  COPYRIGHT (c) 1989-2009.
#  On-Line Applications Research Corporation (OAR).
#
#  The license and distribution terms for this file may be
#  found in the file LICENSE in this distribution or at
#  http://www.rtems.org/license/LICENSE.
#

This file describes the directives and concepts tested by this test set.

test set name:  sp51

directives:

  rtems_semaphore_create
  rtems_semaphore_obtain
  rtems_semaphore_mutex

concepts:

+ Ensure that obtaining a binary semaphore with priority ceiling enabled
  properly detects a ceiling violation when there is no conflict.

+ Ensure the when the binary semaphore lock fails to acquire the mutex,
  it is an error to release it since the lock failed.