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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0022 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 0022.


Report 0022 Actions


    Problem Report Number 0022
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0022
    Raised 1992-09-07 08:00
    Updated 2003-03-13 08:00
    Published 1992-09-24 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification POSIX.os/procenv/sysconf_X 11
    Problem Summary TSD4.022 This test expects sysconf(_SC_2_VERSION) to return the same value as _POSIX2_VERSION. This is not a requirement in XPG4. _POSIX2_VERSION is a constant and the application usage on page 445 of XPG4 sta...
    Problem Text
    This test expects sysconf(_SC_2_VERSION) to return the same value
    as _POSIX2_VERSION.

    This is not a requirement in XPG4.

    _POSIX2_VERSION is a constant and the application usage on page 445 of XPG4
    states that if the value of sysconf(_SC_2_VERSION) is not equal to the value
    of _POSIX2_VERSION, it is used to indicate that utilities available via
    system() and popen() might not behave as described in the XCU.

    This is to be expected for systems supporting the historic compatibility
    commands specification.
    Test Output
    ************************************************************************
    /tset/POSIX.os/procenv/sysconf_X/T.sysconf_X 11 Failed

    Test Description:
    If _POSIX2_VERSION is defined in <unistd.h> to a value other than -1:
    A call to sysconf() with the name argument set to _SC_2_VERSION
    returns the value of _POSIX2_VERSION.
    Otherwise:
    A call to sysconf() with the name argument set to _SC_2_VERSION
    either returns a value of -1 and does not change the value of
    errno, or (in the case that _POSIX2_VERSION is not defined)
    returns the value of _POSIX2_VERSION.
    Not tested in XPG3 mode.

    Test Strategy:
    CALL sysconf(_SC_2_VERSION)
    VERIFY that return value and errno are as expected

    Test Information:
    sysconf(_SC_2_VERSION) failed expected 199209 - got -1
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite fault and a permanent waiver is recommended.

    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 in VSX 4.2.3.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority