HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0101 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 0101.


Report 0101 Actions


    Problem Report Number 0101
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0101
    Raised 1993-10-28 08:00
    Updated 2003-03-13 08:00
    Published 1993-11-05 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.4
    Test Identification POSIX.os/procenv/sysconf_X 13 14
    Problem Summary TSD4.101 The XSH4 specification on page 615 under the heading "Constants for options and Feature Groups" specifies the mechanism to use to determine if a feature group is supported. It is stated: "The followin...
    Problem Text

    The XSH4 specification on page 615 under the heading "Constants for options
    and Feature Groups" specifies the mechanism to use to determine if a feature
    group is supported. It is stated:

    "The following symbolic constants are defined to have the value -1 if the
    implementation wil never provide the feature, and to have a value other then
    -1 if the implementation always provides the feature. If these are undefined,
    the sysconf function can be use to determine whether the feature is provided
    for a particular invocation of the application"

    In our implementation _XOPEN_XCU_VERSION is set to 4, POSIX2_FORT_DEV and
    _POSIX2_FORT_RUN are undefined. sysconf() returns a -1 with errno=0 which is
    valid since the option is not supported. In the XCU4 specification page 1,
    it is stated that the FORTRAN utilities need not be provided. The test cases
    expects a value != -1 under the set conditions.

    We believe the test cases are at fault and request that a waiver be granted.

    Test Output
    /tset/POSIX.os/procenv/sysconf_X/T.sysconf_X 13 UNREPORTED

    Test Description:
    If _POSIX2_FORT_DEV is defined in <unistd.h> to a value other than -1,
    or _XOPEN_XCU_VERSION is defined in <unistd.h> to a value greater than
    or equal to 4:
    A call to sysconf(_SC_2_FORT_DEV) returns a value other than -1.
    Otherwise:
    A call to sysconf(_SC_2_FORT_DEV) does not change the value of
    errno, and (in the case that _POSIX2_FORT_DEV is -1) returns a
    value of -1.
    Not tested in XPG3 mode.

    Test Information:
    sysconf(_SC_2_FORT_DEV) did not return expected values
    returned -1, errno 0 (NO ERROR)
    expected return value != -1
    ************************************************************************
    /tset/POSIX.os/procenv/sysconf_X/T.sysconf_X 14 UNREPORTED

    Test Description:
    If _POSIX2_FORT_RUN is defined in <unistd.h> to a value other than -1,
    or _XOPEN_XCU_VERSION is defined in <unistd.h> to a value greater than
    or equal to 4:
    A call to sysconf(_SC_2_FORT_RUN) returns a value other than -1.
    Otherwise:
    A call to sysconf(_SC_2_FORT_RUN) does not change the value of
    errno, and (in the case that _POSIX2_FORT_RUN is -1) returns a
    value of -1.
    Not tested in XPG3 mode.

    Test Information:
    sysconf(_SC_2_FORT_RUN) did not return expected values
    returned -1, errno 0 (NO ERROR)
    expected return value != -1

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is recognised to be a test suite deficiency and the tests have been
    removed in VSX release 4.3.1.

    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:

     

    Back   


Contact the Certification Authority