forked from Imagelibrary/rtems
PR 1415/cpukit * Makefile.am, configure.ac: Add test for very simple priority ceiling violation. * sp51/.cvsignore, sp51/Makefile.am, sp51/init.c, sp51/sp51.doc, sp51/sp51.scn: New files.
29 lines
714 B
Plaintext
29 lines
714 B
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# 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.com/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.
|