|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0140 Details Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0140.
Report 0140 Actions
Problem Report Number 0140 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0140 Raised 1994-05-17 08:00 Updated 2003-03-13 08:00 Published 1994-05-31 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.4 Test Identification XPG4.os/ipc/semget 2,3 Problem Summary TSD4.140 Errors are caused by calls to the semctl() function with NSEMS as second argument (lines 269 and 423), where NSEMS is the same value used as second argument (sem_nsems) in the previous calls to the se... Problem Text
Errors are caused by calls to the semctl() function with NSEMS as
second argument (lines 269 and 423), where NSEMS is the same value
used as second argument (sem_nsems) in the previous calls to the
semget() function (lines 255 and 409).
Tests erroneusly expect the calls to the semctl() function to succeed,
since "System Interfaces and Headers, Issue 4" states the following
about semctl() (page 350):
ERRORS
The semctl() function will fail if:
...
[EINVAL] The value of semid is not a valid semaphore
identifier, or the value of semnum is less than
zero or greater than or equal to sem_nsems, or
the value of cmd is not a valid command.
...Test Output
************************************************************************
/tset/XPG4.os/ipc/semget/T.semget 2 Unresolved
Test Information:
semctl(3, 1, IPC_STAT, semid_ds *) unexpectedly returned error: 22
(EINVAL)
************************************************************************
************************************************************************
/tset/XPG4.os/ipc/semget/T.semget 3 Unresolved
Test Information:
semctl(3, 1, IPC_STAT, semid_ds *) unexpectedly returned error: 22
(EINVAL)
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is an agreed test suite fault and it is recommended that a test
suite deficiency be granted.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 0140
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority