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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0205 Actions


    Problem Report Number 0205
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0205
    Raised 1995-03-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-03-07 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 POSIX.os/devclass/i_close 2
    Problem Summary TSD4.205 The problem is that if the pseudo-terminal implementation has a clone device for the master side, then the pseudo-terminal opened by loop_prep() is a different one to the one that has just been closed...
    Problem Text
    The problem is that if the pseudo-terminal implementation has a clone
    device for the master side, then the pseudo-terminal opened by loop_prep()
    is a different one to the one that has just been closed.

    With pseudo-terminal implementations that do not have a clone device for
    the master side, the loop_prep() opens the same pseudo-terminal and the
    test can read the "\n" character.
    Test Output
    ************************************************************************
    /tset/POSIX.os/devclass/i_close/T.i_close 2 Failed

    Test Description:
    If general terminal interface supported:
    The last process to close a terminal device file shall cause any
    data in the input queue to be discarded.
    Posix Ref: Component Terminal Interface Assertion 7.1.1.11-71(D)

    Test Strategy:
    CREATE child process
    CHILD process:
    OPEN and initialise terminal and loop back file
    WRITE data to terminal file using write()
    SLEEP for 2 seconds
    CLOSE loop back file descriptor using close()
    OPEN and initialise loop back file
    WRITE NL character to terminal file using write()
    SLEEP for 2 seconds
    READ from loop back file using read()
    VERIFY that read() returned only the NL character

    Test Information:
    read() returned 0, expected 1
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is agreed that this is a test suite deficiency and it is recommended that
    a waiver is granted.

    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