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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0465 Actions


    Problem Report Number 0465
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0084
    Raised 1994-07-26 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.4
    Test Identification ANSI.os/string/strcat 1
    Problem Summary PG4R.085 The tests in the charhandle test area assume that the host system is ASCII-based but there is nothing in ANSI or POSIX that requires this to be so. The tests take advantage of the fact in ASCII, the l...
    Problem Text
    The tests in the charhandle test area assume that the host system is
    ASCII-based but there is nothing in ANSI or POSIX that requires this to
    be so. The tests take advantage of the fact in ASCII, the lower case
    alphabet is contiguous and ranges from 0x61 to 0x7a. In EBCDIC, the
    lower case alphabet is found in three discontiguous sections: 0x81 to
    0x89, 0x91 to 0x99, and 0xa2 to 0xa9. The following tests fail on an
    EBCDIC system because the alphabet is not contiguous:
    ANSI.os/string/Mstrcat/T.strcat 1,
    ANSI.os/string/strcat/T.strcat 1,
    ANSI.os/string/strcspn/T.strcspn 1,
    ANSI.os/string/strncat/T.strncat 1, and
    ANSI.os/string/strpbrk/T.strpbrk 1.
    Test Output
    /tset/ANSI.os/string/strcat/T.strcat 1 Failed
    Test Description:
    strcat() appends a copy of string s2 to the end of string s1 stopping
    after the null character has been copied and returns s1. The initial
    character of s2 overwrites the null character at the end of s1.
    Posix Ref: Component STRCAT Assertion 8.1-04(A)
    Test Strategy:
    VERIFY second string is concatenated onto first string with correct
    NULL termination. Strings include characters with 8 bit settings.
    Test Information:
    strcat did did not copy data correctly
    expected result : abcdefghiM-^VM-$M-sM-/M-.M-EM-jklmnopqrM-^W
    actual result : abcdefghiM-^VM-$M-smnopqrM-^WM-^GM-NM-^SM-qM-~M-H~

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    This is accepted as a test suite fault for all of the listed tests except
    strcspn 1. This test only assumes that the characters 'a', 'b', 'c' and 'd'
    are contiguous. This assumption is valid for EBCDIC as well as ASCII.
    The test does contain a fault which is expected to cause it to fail on
    EBCDIC systems, however the fault is related to assumptions about setting
    the eighth bit on characters, not whether the whole alphabet is contiguous.

    It is recommended that the submitter be asked to resubmit this interpretation
    request with an amended list of affected tests.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority