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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0179 Actions


    Problem Report Number 0179
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0179
    Raised 1994-08-01 08:00
    Updated 2003-03-13 08:00
    Published 1994-08-15 08:00
    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 TSD4.179 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) == 'a' 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/strcspn/T.strcspn 1,
    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/strstr/T.strstr 2,
    ANSI.os/string/strtok/T.strtok 1, and
    ANSI.os/string/strtok/T.strtok 2.

    Note: this request was originally submited with our number of vsx.007.
    It was refused because it listed a non-existent test. The request
    incorrectly identified strspn 2 as one of the tests in error but this
    should have been strstr 2. In addition, one of the tests originally
    referenced by vsx.008 should have been reported here. Both tests are
    correctly identified in this request which replaces vsx.007. Another
    request will take the place of vsx.008.
    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 fault in the test suite and it is recommended that
    a waiver is granted on the grounds of a 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