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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0138 Actions


    Problem Report Number 0138
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0138
    Raised 1994-05-11 08:00
    Updated 2003-03-13 08:00
    Published 1994-05-17 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.2
    Test Identification XOPEN.os/locale/nl_langinf 3
    Problem Summary TSD4.138 According to the X/Open CAE Specification (1994) (Draft February 9, 1994), page 75, 76: the POSIX locale should set D_T_FMT to the following: %a %b %e %H:%M:%S %Y The VSX expectation of the string %a ...
    Problem Text

    According to the X/Open CAE Specification (1994) (Draft February 9, 1994),
    page 75, 76:

    the POSIX locale should set D_T_FMT to the following:

    %a %b %e %H:%M:%S %Y

    The VSX expectation of the string %a %b %d %H:%M:%S %Y is incorrect.
    Test Output

    /tset/XOPEN.os/locale/nl_langinf/T.nl_langinf 3 Failed

    Test Description:
    nl_langinfo returns a pointer to a NULL terminated string containing
    data relevant to the 'C' locale if
    a. setlocale() has not been successfully called before.
    b. langinfo data is not available for the current language.
    the string contains information relating to item where item can be any
    of the constant names or values specified in langinfo(5).

    Test Strategy:
    PARENT process will
    CREATE [child process|process pair]
    CHILD process will
    OBTAIN language information for VSX4L1 using nl_langinfo()
    VERIFY that with no call to setlocale() then CLANG is the default
    VERIFY that if no langinfo data is present then CLANG data is used

    Test Information:
    nl_langinfo(D_T_FMT) failed
    if no call is made to setlocale(), by default pointers to C Locale
    strings are returned
    Current language binding: CLANG
    Expected information string: %a %b %d %H:%M:%S %Y
    Actual information string: %a %b %e %H:%M:%S %Y
    nl_langinfo(D_T_FMT) failed
    if no language information is supported, setlocale(), by default,
    returns pointers to C Locale strings
    Current language binding: CLANG
    Expected information string: %a %b %d %H:%M:%S %Y
    Actual information string: %a %b %e %H:%M:%S %Y

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is accepted that this is a deficiency in the test suite and a waiver
    is recommended on these grounds.

    However, it should be noted that this is a change from the XPG3 specification
    which is not documented in the change history and has only recently been
    identified in the test suite. For this reason it is expected that a reasonable
    period will be allowed before all implementtaions align with this requirement.

    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