nptl.BullOpenSource.Org Forum Index nptl.BullOpenSource.Org
NPTL Tests & Trace project. Homepage.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sem_unlink

 
Post new topic   Reply to topic    nptl.BullOpenSource.Org Forum Index -> Tests - Semaphores related functions
View previous topic :: View next topic  
Author Message
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Fri Mar 04, 2005 10:11 am    Post subject: sem_unlink Reply with quote

POSIX

POSIX is a registered trademark from the IEEE. The following assertions are derived from copyrighted material. Original text and copyright information can be found at http://www.opengroup.org.

Here is what POSIX requires for this function:

  1. When the semaphore is referenced by other processes, the function has no effect on the state of the semaphore.
  2. Destruction of the semaphore is postponed until all process which were using the semaphore have called sem_close, _exit or exec.
  3. Call to sem_open with the same name refer to a new semaphore, once sem_unlink has been called.
  4. sem_unlink does not block.
  5. sem_unlink returns 0 on success.
  6. sem_unlink returns -1 and sets errno to EACCESS when the process has not privilege to unlink the semaphore.
  7. sem_unlink returns -1 and sets errno to ENAMETOOLONG when the semaphore name lenght is greater than PATH_MAX or a component length is greater than NAME_MAX.
  8. sem_unlink returns -1 and sets errno to ENOENT when the named semaphore does not exist.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Fri Mar 04, 2005 3:45 pm    Post subject: Conformance Status Reply with quote

Conformance Status

  • Assertion 1 is not tested yet. A new testcase will be written.
  • Assertion 2 is poorly tested. A new testcase will be written.
  • Assertion 3 is not tested yet. A new testcase will be written.
  • Assertion 4 is not tested yet. A new testcase will be written.
  • Assertion 5 is impliciteely tested in other testcases.
  • Assertion 6 is not tested yet. A new testcase will be written.
  • Assertion 7 is not tested yet. A new testcase will be written.
  • Assertion 8 is not tested yet. A new testcase will be written.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Fri Mar 04, 2005 3:48 pm    Post subject: Scalability and Stress Status Reply with quote

Scalability and Stress Status

No scalability or stress test will be written for this function.

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tHeDoc
Project Maintener


Joined: 21 Apr 2004
Posts: 237
Location: Echirolles, France

PostPosted: Wed Mar 09, 2005 1:36 pm    Post subject: Conformance Test Reply with quote

Conformance Test

The following test cases have been added to OPTS:

_________________
Sebastien Decugis.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nptl.BullOpenSource.Org Forum Index -> Tests - Semaphores related functions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group