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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1319 Actions


    Problem Report Number 1319
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0601
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-03-31 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.0.2
    Test Identification base/getdate 53
    Problem Summary TSD4U.00217 The range of dates used by this test may not be representable on some implementations.
    Problem Text

    XSH5 p. 325 lists the mandated values for getdate_err, including the following:

    8 Invalid input specification. For example, February 31; or a time is specified
    that can not be represented in a time_t (representing the time in seconds since
    00:00:00 UTC, January 1, 1970).

    On the implementation in question, time_t can represent times from
    Dec 13, 1901 8:45:52 UTC to Jan 19, 2038 3:14:07 UTC.

    The test is trying to format dates in 1850 and 2150; the implementation correctly
    reports that time_t cannot represent them.

    Test Output


    TEST PURPOSE #53
    On a call to struct tm *getdate(char *string) the
    field descriptor "%C" shall specify the century
    number (00-99 with leading zeros permitted but not
    required).
    PREP: Make DATEMSK refer to selected data file
    TEST: getdate("01+7+50 19")
    TEST: Validate returned structure
    PREP: Make DATEMSK refer to selected data file
    TEST: getdate("31+10+50 18")
    ERROR: getdate returned NULL, getdate_err = 8 (Invalid input specification).
    PREP: Make DATEMSK refer to selected data file
    TEST: getdate("15+05+50 21")
    ERROR: getdate returned NULL, getdate_err = 8 (Invalid input specification).
    53 UNRESOLVED

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    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