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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0464 Actions


    Problem Report Number 0464
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0083
    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/strchr 2
    Problem Summary PG4R.084 The tests in the string test area assume that the host system is ASCII-based but there is nothing in ANSI or POSIX that requires this to be so. Several test programs use the fact that in ASCII, turnin...
    Problem Text
    The tests in the string test area assume that the host system is
    ASCII-based but there is nothing in ANSI or POSIX that requires this
    to be so. Several test programs use the fact that in ASCII, turning
    on the high-order bit of a byte containing a printable character
    changes the value of the byte. This is not always true for EBCDIC
    charcters - the value may stay the same [('a' | 0xf0) == 0xf0 in
    EBCDIC]. Tests that assume the state of any bit (including the
    high-order bit) of any character are not valid. The following tests
    are failing because they assume they can turn on the high-order bit to
    change the value of a printable character:
    ANSI.os/string/Mstrchr/T.strchr 2,
    ANSI.os/string/Mstrcmp/T.strcmp 1,
    ANSI.os/string/Mstrcmp/T.strcmp 3,
    ANSI.os/string/Mstrrchr/T.strrchr 2,
    ANSI.os/string/strchr/T.strchr 2,
    ANSI.os/string/strcmp/T.strcmp 1,
    ANSI.os/string/strcmp/T.strcmp 3,
    ANSI.os/string/strncmp/T.strncmp 1,
    ANSI.os/string/strncmp/T.strncmp 3,
    ANSI.os/string/strpbrk/T.strpbrk 2,
    ANSI.os/string/strrchr/T.strrchr 2,
    ANSI.os/string/strspn/T.strspn 1,
    ANSI.os/string/strspn/T.strspn 2,
    ANSI.os/string/strtok/T.strtok 1, and
    ANSI.os/string/strtok/T.strtok 2.
    Test Output
    /tset/ANSI.os/string/strchr/T.strchr 2 Failed
    Test Description:
    strchr() returns a null pointer if character c does not occur in
    string s.
    Test Strategy:
    VERIFY NULL return when character is not in the string.
    Test Information:
    strchr did not return expected value
    pointer & value of first argument : 0x37320f0
    \360\360\360a\360\360\360\247a\360\360\360\247\360\360a\360\360\
    247
    value of second argument : \247
    expected return value : 0x0
    actual return value : 0x37320f7
    strchr did not return expected value
    pointer & value of first argument : 0x37320f0
    \360\360\360a\360\360\360\247a\360\360\360\247\360\360a\360\360\
    247
    value of second argument : a
    expected return value : 0x0
    actual return value : 0x37320f3

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite fault for all of the listed tests except
    strspn 2, which does not exist. There is only one test in the
    ANSI.os/string/strspn testset.

    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