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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0378 Actions


    Problem Report Number 0378
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0019
    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 3
    Problem Summary MSF4.019 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, TCSAFLUSH, 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 and its
    input queue to be flushed.
    Posix Ref: Component TCSETATTR Assertion 7.2.1.2-07(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()
    SLEEP to allow data to become available for reading
    WRITE data to terminal file using write()
    SET terminal information using tcsetattr(tty_fildes, TCSAFLUSH,
    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
    SET time out for WAITTIME
    READ from terminal file using read()
    VERIFY that all terminal input was discarded
    10|0 /tset/POSIX.os/devclass/tcsetattr/T.tcsetattr 18:20:53|TC Start, scenario
    ref 0-1, ICs {3}
    15|0 1.10 1|TCM Start
    400|0 3 1 18:21:00|IC Start
    200|0 3 18:21:00|TP Start
    520|0 3 570 1 1|tcsetattr(TCSAFLUSH) discarded output
    220|0 3 1 18:22:36|FAIL
    410|0 3 1 18:22:36|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