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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0021 Actions


    Problem Report Number 0021
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0021
    Raised 1992-09-06 08:00
    Updated 2003-03-13 08:00
    Published 1992-09-24 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification XPG4.os/wgenuts/iconv 6
    Problem Summary TSD4.021 There are some known problem with the iconv() tests in VSX4.2.3 that have been fixed in the upcoming VSX4.2.4beta. Our implementation passes the fixed version of the tests which now expect -1 to be re...
    Problem Text
    There are some known problem with the iconv() tests in VSX4.2.3 that have
    been fixed in the upcoming VSX4.2.4beta. Our implementation passes
    the fixed version of the tests which now expect -1 to be
    returned in this case.

    The fix is as noted in the following comment from the VSX4.2.4 code.

    > Geoff Clare, 13 Aug 1992
    > Align with interpretation VWG/019/071492.
    Test Output
    ************************************************************************
    /tset/XPG4.os/wgenuts/iconv/T.iconv 6 Failed

    Test Description:
    When the size of the output buffer referenced by outbuf is
    insufficient to hold the converted value, then conversion stops after
    the last character converted and iconv() returns the number of bytes
    in the input buffer that still remain to be converted and sets errno
    to E2BIG.

    Test Strategy:
    VERIFY that codeset VSX_CODESET1 and VSX_CODESET2 are supported
    OBTAIN test multibyte string using mbytestr()
    CHANGE to correct locale using setlocale()
    OBTAIN conversion descriptor using iconv_open()
    PERFORM conversion from VSX_CODESET1 to VSX_CODESET2 using iconv()
    with an outbuffer too small for the string to be completely converted.
    VERIFY that the correct number of unconverted bytes is returned by
    iconv.
    VERIFY that errno is set to E2BIG.

    Test Information:
    iconv() failed to return correct value
    Expected number of bytes >69<
    Actual number of bytes >-1<
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is agreed to be a test suite fault in VSX 4.2.3 and a permanent waiver
    is recommended.

    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 in VSX 4.2.3.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority