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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2608 Actions


    Problem Report Number 2608
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1355
    Raised 2015-04-18 00:53
    Updated 2015-05-08 10:08
    Published 2015-05-08 10:08
    Product Standard Internationalised System Calls and Libraries Extended V4 (UNIX V7)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.7.9NW
    Test Identification /tset/ANSI.os/time/strftime_X/T.strftime_X{11}
    Specification Base Specifications Issue 7
    Problem Summary VSX expecting to *not* get the plus
    sign if there's no room within the specified minimum width in strftime().
    Problem Text VSX looks intentionally expecting to *not* get the plus
    sign if there's no room within the specified minimum width.

    According to the spec, when plus sign is specified as optional flag
    and year is 10000, leading plus sign shall be included in the output.
    The field width specified is minimum field width which doesn't prevent
    addition of the leading plus sign.

    Also, RATIONALE part of the spec document shows an example that
    strftime() outputs "+12345" for year 12345, with "%+4Y" or with "%+5Y".

    Discussed further for clarification, and now it's seen possible VSX bug.
    As mentioned earlier in this bug report, width specified is "minimum"
    width and there's no reason found to explain the width prevents
    addition of the plus sign. Also the RATIONAL part of the spec
    shows example that strftime() outputs "+12345" for year 12345,
    with "%+4Y" or with "%+5Y".
    Test Output strftime(str, size, %+3C, &tmbuf) returned incorrectly formatted string
    Expected string: 100
    Actual string: +100
    strftime(str, size, %+11F, &tmbuf) returned incorrectly formatted string
    Expected string: 10000-10-23
    Actual string: +10000-10-23
    strftime(str, size, %+5G, &tmbuf) returned incorrectly formatted string
    Expected string: 10000
    Actual string: +10000
    strftime(str, size, %+5Y, &tmbuf) returned incorrectly formatted string
    Expected string: 10000
    Actual string: +10000

    Review Information

    Review Type TSMA Review
    Start Date 2015-04-18 00:53
    Last Updated 2015-04-20 12:21
    Completed 2015-04-20 12:21
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2015-04-20 20:21
    Last Updated 2015-05-08 10:08
    Completed 2015-05-08 10:08
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority