|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2350 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 2350.
Report 2350 Actions
Problem Report Number 2350 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1216 Raised 2004-04-02 07:42 Updated 2004-04-02 18:26 Published 2004-04-02 18:26 Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03) Certification Program The Open Brand certification program Test Suite VSX4 version 4.6.2 Test Identification ANSI.hdr/misc/stdlib 48
POSIX.hdr/misc/wait 10Specification Base Definitions Issue 6 Problem Summary ANSI.hdr/misc/stdlib and POSIX.hdr/misc/wait does not allow the
inclusion of <sys/select.h>.Problem Text This problem is only regarding the complaint by the tests of the
symbol pselect.
According to Base Definitions, Issue 6, <stdlib.h> can make visible
<sys/wait.h>
which can make visible <sys/resource.h> which can make visible
<sys/time.h>
which can make visible <sys/select.h>.
According to Base Definitions, Issue 6, <wait.h> can make visible
<sys/resource.h> which can make visible <sys/time.h> which can make
visible
<sys/select.h>.
Neither test is allowing the inclusion of <sys/time.h> inTest Output
****************************************************************************************************************
/tset/POSIX.hdr/misc/wait/T.wait 10 Failed
Test Description:
For POSIX90 and FIPS modes:
When _POSIX_SOURCE is defined and no other feature test
macros are
defined, no other symbols than those defined or reserved by
POSIX.1-1990 are made visible.
For POSIX96 mode:
When _POSIX_C_SOURCE is defined with the value 199506L and
no
other feature test macros except _POSIX_SOURCE are defined,
no
other symbols than those defined or reserved by POSIX.1-1996
are
made visible.
For XPG4 mode:
When _XOPEN_SOURCE is defined and no other feature test
macros
except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2
are
defined, no other symbols than those defined or reserved by
XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no
other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols than
those
defined or reserved by XSH5 are made visible.
Posix Ref: Component C Language Definitions Assertion
2.7.2-05(B)
Test Strategy:
FOR each unreserved struct/union member made visible by the
header
DEFINE a macro which will cause an error if not protected
from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
Test Information:
Feature test macros: -D_XOPEN_SOURCE=600
Compiler or run-time messages or results:
Illegal struct/union/enum tag: itimerspec
Illegal declared or 'typedef'ed symbol: pselect
Feature test macros: -D_XOPEN_SOURCE=600
-D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
Illegal struct/union/enum tag: itimerspec
Illegal declared or 'typedef'ed symbol: pselect
****************************************************************************************************************
****************************************************************************************************************
/tset/ANSI.hdr/misc/stdlib/T.stdlib 48 Failed
Test Description:
For POSIX90 and FIPS modes:
When _POSIX_SOURCE is defined and no other feature test
macros are
defined, no other symbols than those defined or reserved by
POSIX.1-1990 are made visible.
For POSIX96 mode:
When _POSIX_C_SOURCE is defined with the value 199506L and
no
other feature test macros except _POSIX_SOURCE are defined,
no
other symbols than those defined or reserved by POSIX.1-1996
are
made visible.
For POSIX01 mode:
When _POSIX_C_SOURCE is defined with the value 200112L and
no
other feature test macros except _POSIX_SOURCE are defined,
no
other symbols than those defined or reserved by
POSIX.1-2001/XSH6
(not including the XSI option) are made visible.
For XPG4 mode:
When _XOPEN_SOURCE is defined and no other feature test
macros
except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2
are
defined, no other symbols than those defined or reserved by
XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no
other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols than
those
defined or reserved by XSH5 are made visible.
For UNIX03 mode:
When _XOPEN_SOURCE is defined with the value 600 and no
other
feature test macros except _POSIX_C_SOURCE<=200112L are
defined,
no other symbols than those defined or reserved by POSIX.1-
2001/XSH6 (including the XSI option) are made visible.
Posix Ref: Component C Language Definitions Assertion
2.7.2-05(B)
Test Strategy:
FOR each unreserved struct/union member made visible by the
header
DEFINE a macro which will cause an error if not protected
from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
Test Information:
Feature test macros: -D_XOPEN_SOURCE=600
Compiler or run-time messages or results:
Illegal struct/union/enum tag: itimerspec
Illegal declared or 'typedef'ed symbol: pselect
Feature test macros: -D_XOPEN_SOURCE=600
-D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
Illegal struct/union/enum tag: itimerspec
Illegal declared or 'typedef'ed symbol: pselect
****************************************************************************************************************Review Information
Review Type TSMA Review Start Date 2004-04-02 07:42 Last Updated 2004-04-02 18:14 Completed 2004-04-02 18:14 Status Complete Review Recommendation Test Suite Deficiency (TSD) Review Response This is accepted as a fault in the test suite.
Note that, contrary to the submitter's comment "This problem is only
regarding the complaint by the tests of the symbol pselect", both of the
symbols reported by the tests should be allowed to be visible.
Review Type SA Review Start Date 2004-04-02 17:14 Last Updated 2004-04-02 18:26 Completed 2004-04-02 18:26 Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 2350
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority