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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0377 Actions


    Problem Report Number 0377
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0018
    Raised 1997-02-11 08:00
    Updated 2003-03-13 08:00
    Published 1997-02-17 08:00
    Expiry Date 1998-02-16
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.3.5
    Test Identification POSIX.os/devclass/tcsetattr 2
    Problem Summary MSF4.018 The test failed intermittently, need more time to investigate the system deficiency.
    Problem Text
    The test failed intermittently, need more time to investigate
    the system deficiency.
    Test Output
    Test Description:
    If general terminal interface supported:
    When tcsetattr(fildes, TCSADRAIN, termios_p) is called from a
    foreground process, it shall set the parameters associated with the
    terminal described by fildes from the termios structure referenced
    by termios_p, and shall return zero. The call to tcsetattr() shall
    wait for data in the terminal's output queue to be drained.
    Posix Ref: Component TCSETATTR Assertion 7.2.1.2-06(C)

    Test Strategy:
    OPEN and initialise terminal file and loop back file
    SET time out for WAITTIME
    WRITE data to loop back file using write()
    WRITE data to terminal file using write()
    OBTAIN terminal information using tcgetattr(tty_fildes, tty_termios_p)
    SET terminal information using tcsetattr(tty_fildes, TCSADRAIN,
    tty_termios_p)
    VERIFY that tcsetattr() returned zero.
    FLUSH output terminal file data using tcflush()
    (This will discard any terminal output not yet transmitted)
    SLEEP to allow data to become available for reading
    SET time out for WAITTIME
    READ from loop back file using read()
    VERIFY that no terminal output was discarded
    10|0 /tset/POSIX.os/devclass/tcsetattr/T.tcsetattr 18:23:48|TC Start, scenario
    ref 0-1, ICs {2}
    200|0 2 18:23:55|TP Start
    520|0 2 630 1 2|tcsetattr(TCSADRAIN) did not drain output
    220|0 2 1 18:24:56|FAIL
    410|0 2 1 18:24:56|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is accepted that this situation is unlikely to affect
    portable applications.

    This is agreed to be a minor system fault and a Temporary Waiver is
    recommended.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion
    A Temporary Waiver is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority