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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1037 Actions


    Problem Report Number 1037
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0276
    Raised 1999-08-17 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 5.0.2
    Test Identification POSIX.cmd/stty 8
    Problem Summary PG4C.00128 stty behaviour when split baud rates not supported
    Problem Text
    This test may fail on implementations that do not support split baud
    rates, and both baud rates change when one baud rate change is made.

    For example,

    stty ispeed 9600 ospeed 9600

    is valid for an IUT not supporting split baud rates. However, it is
    unspecified what the results of

    stty ispeed 9600 ospeed 9600
    stty ispeed 9600 ospeed 2400

    are when split baud rates are not supported. The test expects the
    baud rates in the second line not to be made.

    The standard states in the stty description of operands for control modes,

    It is unspecified whether stty will report an error
    if an attempt to set a Control Mode fails.

    In this case, the IUT choses the ospeed as the dominate speed and sets
    both speeds to 2400 rather than leaving it at 9600 as the test expects.

    Test Output
    ***********************************************************************
    /tset/POSIX.cmd/stty/stty.ex 1 Failed


    Test Information:
    Assertion #8 (C):
    Command failed: 'grep -q 'ispeed 9600 baud; ospeed 2400 ba
    <LC> ud;' stty_8_out'

    ***********************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    In this case the results show that the call to stty has not failed, but
    has set the value of the ispeed to the requested value for the ospeed.
    The quoted text from the XCU deals with the case where the call fails
    to set a Control Mode, not the case where the call to stty has set the
    ispeed Control Mode to a value other than that requested.

    In the case of split baud rates not being supported by the implementation,
    the call to stty should modify neither the ispeed nor the ospeed since the
    call is unable to complete the requested action. The call to stty may also
    report an error when the call has failed. The XCU does not allow for the
    case that the ispeed value is set to the requested ospeed value and does not
    include the concept of a "dominant speed" when the input and output baud
    rates are requested to be set to different values.

    It is recommended that this 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