1 Coverage-Area: Semaphores (SEM) 2 3 /* 4 COVERAGE DOCUMENT FOR SEMAPHORES 5 ============================ 6 7 This 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 // ================================================= 20 sem_close YES HIGH 21 sem_destroy YES HIGH 22 sem_getvalue YES MED 23 sem_init YES HIGH 24 sem_open YES HIGH 25 sem_post YES HIGH 26 sem_timedwait YES MED 27 sem_trywait YES HIGH 28 sem_wait YES HIGH 29 sem_unlink YES HIGH 30 // =================================================== 31 /* 32 33 Compile: 34 ======== 35 See the BUILD file in the main directory for the most up-to-date 36 information on how to compile tests from within the framework. 37 38 The 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 44 Clean up: 45 ========= 46 file: cln.sh is a file to clean any open semaphores on the system if they remain 47 open after running such test. 48 49 50 */ 51 Maintainer: Majid Awad 52