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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0088 Actions


    Problem Report Number 0088
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0088
    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/genuts/strfmon 15
    Problem Summary TSD4.088 We think %20=0#5n is an incorrect format specification because according to the XPG4 specification on strfmon(): "A conversion specification consists of the following sequence: - a % character - optio...
    Problem Text
    We think %20=0#5n is an incorrect format specification because
    according to the XPG4 specification on strfmon():

    "A conversion specification consists of the following sequence:
    - a % character
    - optional flags
    - optional field width
    - optional field width
    - optional left precision
    - optional right precision
    - a required conversion character ... "


    The test suite format string does not conform to the above order. The correct order would be
    %=020#5n. Hence we think that the test needs to be fixed.
    Test Output
    /tset/XPG4.os/genuts/strfmon/T.strfmon 15 Failed

    Test Description:
    If strfmon() is supported:
    When both a width specification and a left precision specification
    with a numeric fill character are specified, then strfmon() first
    formats the result according to the left precision specification
    and then places this formatted value into a field of the specified
    size and alignment according to the width specification.
    Otherwise:
    A call to strfmon() returns -1 and sets errno to ENOSYS.

    Test Strategy:
    SET locale for LC_MONETARY category
    CALL strfmon(buf,maxsize,format,value), where format is set to
    "%20=0#5n"
    VERIFY that buf[] contains the expected value

    Test Information:
    strfmon(buf, 256, "%20=0#5n", ...) did not return expected results
    %d=0#dn specification align columns left of radix char
    Current language is VSX4L3
    Expected string : [ Dm01 234^560]
    Actual string : [%20=0#5n]

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is an accepted 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