Problem Report Number |
0054 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Test Suite Deficiency (TSD) |
Problem Resolution ID |
TSD.PX.0025 |
Raised |
2010-07-30 03:36 |
Updated |
2010-08-06 15:04 |
Published |
2010-08-06 15:04 |
Product Standard |
1003.1-2003 System Interfaces |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSX-PCTS2003 version 2.2 |
Test Identification |
POSIX.hdr/misc/unistd_X/T.unistd_X.25 |
Location in Spec |
None |
Problem Summary |
_POSIX2_VERSION needs to be undefined but
POSIX.hdr/misc/unistd_X/T.unistd_X 25 does not allow it |
Problem Text |
We ran into a situation were we don't support the shell utilities
checked for in XPG4.os/procenv/confstr/T.confstr. The solution for this
was to make sysconf(_SC_2_VERSION) return -1. This leads me to undefine
_POSIX2_VERSION for POSIX.os/procenv/sysconf_X/T.sysconf_X.11
which then causes POSIX.hdr/misc/unistd_X/T.unistd_X.25 to fail.
According to Lynne Canal, the proper thing to do would be to not have
T.unistd_X fail so that there could be separation between the system
intefaces standard and the shell utilities standard. Since there is not
likely time to get this changed before I submit for certification I'd
like to get a wavier for POSIX.hdr/misc/unistd_X/T.unistd_X.25 failing.
|
Test Output |
10|291 /tset/POSIX.hdr/misc/unistd_X/T.unistd_X 23:17:41|TC Start,
scenario ref 295-0
15|291 3.6-lite 33|TCM Start
[...]
400|291 25 1 23:17:48|IC Start
200|291 25 23:17:48|TP Start
520|291 25 00000061 4 1|Feature test macros: -D_POSIX_C_SOURCE=200112
520|291 25 00000061 4 2|Compiler or run-time messages or results:
520|291 25 00000061 4 3|_POSIX2_VERSION is not defined
520|291 25 00000061 7 1|Feature test macros: -D_POSIX_C_SOURCE=200112
-D_POSIX_SOURCE
520|291 25 00000061 7 2|Compiler or run-time messages or results:
520|291 25 00000061 7 3|_POSIX2_VERSION is not defined
220|291 25 1 23:17:49|FAIL
|