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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1991 Actions


    Problem Report Number 1991
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0577
    Raised 1996-02-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.3
    Test Identification XTI.os/util/error/T.error 2
    Problem Summary PGT4R.006 T.error, assertion 2 has a coding causing the above failure. The following lines should go after calling t_error() because t_error() function sets proper "locale" for message catalog and the testcase ...
    Problem Text
    T.error, assertion 2 has a coding causing the above failure. The
    following lines should go after calling t_error() because t_error()
    function sets proper "locale" for message catalog and the testcase expects
    same string as the return from t_error().

    (void) strcpy(endexp, strerror(EINTR));
    (void) strcat(endexp, "\n");

    Also, the endbuf pointer should point as
    endbuf = &buf[strlen(buf) - strlen(endexp)];
    not like,
    endbuf = &buf[strlen(buf) - strlen(endexp) - 1];

    On our implementation, the test works fine with above changes.
    Test Output
    400|20 2 1 13:32:25|IC Start
    200|20 2 13:32:25|TP Start
    520|20 2 00009372 1 1|Expected end of string "Interrupted system call "
    520|20 2 00009372 1 2|Actual end of string "l received an interrupt."
    220|20 2 1 13:32:25|FAIL
    410|20 2 1 13:32:25|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    The XTI specification states that "The contents of the error message strings
    describing the value in errno are the same as those returned by the strerror()
    function with an argument of zero." The XTI specification does not require
    that these two functions should be called in a particular order in order to
    effect this requirement. It seems that the call to t_error() is making a
    change to the locale which is not effected by the previous call to strerror(),
    and that this change to the locale is then carried over into the calling
    process as a side effect of the call to t_error().

    It is recommended that this waiver request is refused.

    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