• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Coverage-Area: Semaphores (SEM)
2
3/*
4COVERAGE DOCUMENT FOR SEMAPHORES
5============================
6
7This document lists the items that will be tested for POSIX semaphore.
8
9	Item to Test		Status
10==========================================================
11||	Definitions		NOT STARTED		||
12||	Behavior		IN PROGRESS		||
13||	Functionality		NOT STARTED		||
14||	Stress			NOT STARTED		||
15==========================================================
16*/
17
18// Function		Complete?	Priority
19// =================================================
20sem_close		YES		HIGH
21sem_destroy		YES		HIGH
22sem_getvalue		YES		MED
23sem_init		YES		HIGH
24sem_open		YES		HIGH
25sem_post		YES		HIGH
26sem_timedwait		YES		MED
27sem_trywait		YES		HIGH
28sem_wait		YES		HIGH
29sem_unlink		YES		HIGH
30// ===================================================
31/*
32
33Compile:
34========
35See the BUILD file in the main directory for the most up-to-date
36information on how to compile tests from within the framework.
37
38The way I'm compiling these test individually by:
39
40	root# gcc 1-1.c -o 1-1 /usr/lib/libposix1b.a
41
42
43
44Clean up:
45=========
46file: cln.sh is a file to clean any open semaphores on the system if they remain
47open after running such test.
48
49
50*/
51Maintainer: Majid Awad
52