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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0086 Actions


    Problem Report Number 0086
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0086
    Raised 1993-08-25 08:00
    Updated 2003-03-13 08:00
    Published 1993-09-03 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 XPG4.os/time/strptime 5
    Problem Summary TSD4.086 This test sets the PM indicator and assumes that the time does not get adjusted by 12 hours. This has been fixed in VSX Release 4.3.1
    Problem Text
    This test sets the PM indicator and assumes that the time does not get adjusted by 12 hours.
    This has been fixed in VSX Release 4.3.1
    Test Output
    /tset/XPG4.os/time/strptime/T.strptime 5 Failed

    Test Description:
    If strptime() is supported:
    When format is a string containing the following field descriptors
    :
    a. a or A abbreviated or full weekday name - eg. Sun to Sat or
    Sunday to Saturday
    b. b, B or h abbreviated or full month name - eg. Jan to Dec or
    January to December
    c. c appropriate date and time as specified in the D_T_FMT string
    d. p AM/PM string as specified in the AM_STR/PM_STR
    e. x appropriate date as specified in the D_FMT string
    f. X appropriate time as specified in the T_FMT string
    then a call to strptime() reads characters from string and, in the
    case that these characters match the format of the directive,
    translates these characters into the appropriate member of the tm
    structure.
    Otherwise:
    A call to strptime() returns NULL and sets errno to ENOSYS.

    Test Strategy:
    PARENT process will
    CREATE child process using cppair()
    CHILD process will
    SET the locale for LC_TIME to VSX4L1
    FOR each day format
    FOR each full weekday name
    GET the relevant string using pslanginfo()
    INITIALISE the tm structures
    VERIFY that strptime() performs as expected
    FOR each abbreviated weekday name
    GET the relevant string using pslanginfo()
    INITIALISE the tm structures

    ....
    ....
    VSX4L2

    Test Information:
    PM string as specified in AM_STR
    strptime("6\040pm", "%H %p", &testbuf) failed.
    Current language is VSX4L2
    tm_hour = 18, expected 6

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is an agreed test suite deficiency.

    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